diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-21 02:05:25 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-21 02:05:25 -0500 |
commit | 2dc2f8e0c46864e2a3722c84eaa96513d4cf8b2f (patch) | |
tree | 8464625ad2cf3f5a7e567d37493a15ec3596a98b /arch/sh/mm/pmb.c | |
parent | 3125ee72dca25fc2157dcddd07e2d740db921fc4 (diff) |
sh: Kill off the special uncached section and fixmap.
Now that cached_to_uncached works as advertized in 32-bit mode and we're
never going to be able to map < 16MB anyways, there's no need for the
special uncached section. Kill it off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/pmb.c')
-rw-r--r-- | arch/sh/mm/pmb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index d318fa6caffe..3d5eece7e6d0 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -127,14 +127,14 @@ static void __set_pmb_entry(unsigned long vpn, unsigned long ppn, | |||
127 | ctrl_outl(ppn | flags | PMB_V, mk_pmb_data(pos)); | 127 | ctrl_outl(ppn | flags | PMB_V, mk_pmb_data(pos)); |
128 | } | 128 | } |
129 | 129 | ||
130 | static void __uses_jump_to_uncached set_pmb_entry(struct pmb_entry *pmbe) | 130 | static void set_pmb_entry(struct pmb_entry *pmbe) |
131 | { | 131 | { |
132 | jump_to_uncached(); | 132 | jump_to_uncached(); |
133 | __set_pmb_entry(pmbe->vpn, pmbe->ppn, pmbe->flags, pmbe->entry); | 133 | __set_pmb_entry(pmbe->vpn, pmbe->ppn, pmbe->flags, pmbe->entry); |
134 | back_to_cached(); | 134 | back_to_cached(); |
135 | } | 135 | } |
136 | 136 | ||
137 | static void __uses_jump_to_uncached clear_pmb_entry(struct pmb_entry *pmbe) | 137 | static void clear_pmb_entry(struct pmb_entry *pmbe) |
138 | { | 138 | { |
139 | unsigned int entry = pmbe->entry; | 139 | unsigned int entry = pmbe->entry; |
140 | unsigned long addr; | 140 | unsigned long addr; |
@@ -364,7 +364,7 @@ static inline int pmb_apply_legacy_mappings(void) | |||
364 | } | 364 | } |
365 | #endif | 365 | #endif |
366 | 366 | ||
367 | int __uses_jump_to_uncached pmb_init(void) | 367 | int pmb_init(void) |
368 | { | 368 | { |
369 | int i; | 369 | int i; |
370 | unsigned long addr, data; | 370 | unsigned long addr, data; |