diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-07-22 04:20:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-22 04:20:34 +0200 |
commit | 378e515c867bc7b6cb33a5aa52776d3e897e7b81 (patch) | |
tree | 8d7556218309bf2da37f462a97eaa0a4ff7eb5b8 /arch/sparc/mm/init.c | |
parent | [SPARC32]: Take enable_irq/disable_irq out of line. (diff) | |
download | linux-378e515c867bc7b6cb33a5aa52776d3e897e7b81.tar.xz linux-378e515c867bc7b6cb33a5aa52776d3e897e7b81.zip |
[SPARC32]: Make PAGE_SHARED a read-mostly variable.
same scheme as for sparc64, same rationale
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/init.c')
-rw-r--r-- | arch/sparc/mm/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/mm/init.c b/arch/sparc/mm/init.c index a532922e2e35..a1bef07755a9 100644 --- a/arch/sparc/mm/init.c +++ b/arch/sparc/mm/init.c @@ -308,6 +308,9 @@ extern void sun4c_paging_init(void); extern void srmmu_paging_init(void); extern void device_scan(void); +pgprot_t PAGE_SHARED __read_mostly; +EXPORT_SYMBOL(PAGE_SHARED); + void __init paging_init(void) { switch(sparc_cpu_model) { |