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
Kirill Smelkov
linux
Commits
ea29e98e
Commit
ea29e98e
authored
Nov 07, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] uClinux pgprot bits
parent
9cab89d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/char/mem.c
drivers/char/mem.c
+1
-1
drivers/video/fbmem.c
drivers/video/fbmem.c
+1
-1
No files found.
drivers/char/mem.c
View file @
ea29e98e
...
...
@@ -140,7 +140,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t _prot)
prot
|=
_PAGE_PCD
|
_PAGE_PWT
;
#elif defined(__powerpc__)
prot
|=
_PAGE_NO_CACHE
|
_PAGE_GUARDED
;
#elif defined(__mc68000__)
#elif defined(__mc68000__)
&& defined(CONFIG_MMU)
#ifdef SUN3_PAGE_NOCACHE
if
(
MMU_IS_SUN3
)
prot
|=
SUN3_PAGE_NOCACHE
;
...
...
drivers/video/fbmem.c
View file @
ea29e98e
...
...
@@ -612,7 +612,7 @@ fb_mmap(struct file *file, struct vm_area_struct * vma)
#if defined(__mc68000__)
#if defined(CONFIG_SUN3)
pgprot_val
(
vma
->
vm_page_prot
)
|=
SUN3_PAGE_NOCACHE
;
#el
se
#el
if defined(CONFIG_MMU)
if
(
CPU_IS_020_OR_030
)
pgprot_val
(
vma
->
vm_page_prot
)
|=
_PAGE_NOCACHE030
;
if
(
CPU_IS_040_OR_060
)
{
...
...
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