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
f8cca798
Commit
f8cca798
authored
May 22, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Define a suitable value for PAGE_KERNEL_NOCACHE
parent
14a85180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/asm-ppc/pgtable.h
include/asm-ppc/pgtable.h
+3
-2
No files found.
include/asm-ppc/pgtable.h
View file @
f8cca798
...
@@ -299,7 +299,8 @@ extern unsigned long ioremap_bot, ioremap_base;
...
@@ -299,7 +299,8 @@ extern unsigned long ioremap_bot, ioremap_base;
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
#define PAGE_KERNEL __pgprot(_PAGE_RAM)
#define PAGE_KERNEL __pgprot(_PAGE_RAM)
#define PAGE_KERNEL_NOCACHE __pgprot(_PAGE_IO)
/*
/*
* The PowerPC can only do execute protection on a segment (256MB) basis,
* The PowerPC can only do execute protection on a segment (256MB) basis,
...
@@ -515,7 +516,7 @@ extern void paging_init(void);
...
@@ -515,7 +516,7 @@ extern void paging_init(void);
/*
/*
* When flushing the tlb entry for a page, we also need to flush the hash
* When flushing the tlb entry for a page, we also need to flush the hash
* table entry. flush_hash_page is assembler (for speed) in hashtable.S.
* table entry. flush_hash_page
s
is assembler (for speed) in hashtable.S.
*/
*/
extern
int
flush_hash_pages
(
unsigned
context
,
unsigned
long
va
,
extern
int
flush_hash_pages
(
unsigned
context
,
unsigned
long
va
,
unsigned
long
pmdval
,
int
count
);
unsigned
long
pmdval
,
int
count
);
...
...
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