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>
This commit is contained in:
@@ -127,14 +127,14 @@ static void __set_pmb_entry(unsigned long vpn, unsigned long ppn,
|
||||
ctrl_outl(ppn | flags | PMB_V, mk_pmb_data(pos));
|
||||
}
|
||||
|
||||
static void __uses_jump_to_uncached set_pmb_entry(struct pmb_entry *pmbe)
|
||||
static void set_pmb_entry(struct pmb_entry *pmbe)
|
||||
{
|
||||
jump_to_uncached();
|
||||
__set_pmb_entry(pmbe->vpn, pmbe->ppn, pmbe->flags, pmbe->entry);
|
||||
back_to_cached();
|
||||
}
|
||||
|
||||
static void __uses_jump_to_uncached clear_pmb_entry(struct pmb_entry *pmbe)
|
||||
static void clear_pmb_entry(struct pmb_entry *pmbe)
|
||||
{
|
||||
unsigned int entry = pmbe->entry;
|
||||
unsigned long addr;
|
||||
@@ -364,7 +364,7 @@ static inline int pmb_apply_legacy_mappings(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
int __uses_jump_to_uncached pmb_init(void)
|
||||
int pmb_init(void)
|
||||
{
|
||||
int i;
|
||||
unsigned long addr, data;
|
||||
|
Reference in New Issue
Block a user