sh: Handle early ioremaps through fixed mappings.

This adds in a mem_init_done to work out when a standard ioremap() is
possible, falling back to the fixmap based ioremap otherwise.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2010-01-18 21:08:32 +09:00
parent 0c54de146e
commit d9b9487af7
3 changed files with 16 additions and 3 deletions

View File

@@ -101,6 +101,9 @@ struct seq_operations;
extern struct pt_regs fake_swapper_regs;
/* arch/sh/mm/init.c */
extern unsigned int mem_init_done;
/* arch/sh/kernel/setup.c */
const char *get_cpu_subtype(struct sh_cpuinfo *c);
extern const struct seq_operations cpuinfo_op;