Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
79203d1a
Commit
79203d1a
authored
Mar 26, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Support write combining on framebuffers
parent
81ad954b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
drivers/video/fbmem.c
drivers/video/fbmem.c
+1
-3
No files found.
drivers/video/fbmem.c
View file @
79203d1a
...
@@ -1111,13 +1111,11 @@ fb_mmap(struct file *file, struct vm_area_struct * vma)
...
@@ -1111,13 +1111,11 @@ fb_mmap(struct file *file, struct vm_area_struct * vma)
#elif defined(__mips__)
#elif defined(__mips__)
pgprot_val
(
vma
->
vm_page_prot
)
&=
~
_CACHE_MASK
;
pgprot_val
(
vma
->
vm_page_prot
)
&=
~
_CACHE_MASK
;
pgprot_val
(
vma
->
vm_page_prot
)
|=
_CACHE_UNCACHED
;
pgprot_val
(
vma
->
vm_page_prot
)
|=
_CACHE_UNCACHED
;
#elif defined(__arm__)
vma
->
vm_page_prot
=
pgprot_noncached
(
vma
->
vm_page_prot
);
#elif defined(__sh__)
#elif defined(__sh__)
pgprot_val
(
vma
->
vm_page_prot
)
&=
~
_PAGE_CACHABLE
;
pgprot_val
(
vma
->
vm_page_prot
)
&=
~
_PAGE_CACHABLE
;
#elif defined(__hppa__)
#elif defined(__hppa__)
pgprot_val
(
vma
->
vm_page_prot
)
|=
_PAGE_NO_CACHE
;
pgprot_val
(
vma
->
vm_page_prot
)
|=
_PAGE_NO_CACHE
;
#elif defined(__ia64__)
#elif defined(__ia64__)
|| defined(__arm__)
vma
->
vm_page_prot
=
pgprot_writecombine
(
vma
->
vm_page_prot
);
vma
->
vm_page_prot
=
pgprot_writecombine
(
vma
->
vm_page_prot
);
#else
#else
#warning What do we have to do here??
#warning What do we have to do here??
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment