diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-18 07:08:32 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-18 07:08:32 -0500 |
commit | d9b9487af79955a8e8fcddc963f56697e020cfed (patch) | |
tree | fc04b367df0bf5c646f87237cd14173ffe868fea /arch/sh/include/asm | |
parent | 0c54de146ef4303ed3c5879b043894c8db637507 (diff) |
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>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r-- | arch/sh/include/asm/processor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 017e0c1807b2..a522e5d8f44f 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h | |||
@@ -101,6 +101,9 @@ struct seq_operations; | |||
101 | 101 | ||
102 | extern struct pt_regs fake_swapper_regs; | 102 | extern struct pt_regs fake_swapper_regs; |
103 | 103 | ||
104 | /* arch/sh/mm/init.c */ | ||
105 | extern unsigned int mem_init_done; | ||
106 | |||
104 | /* arch/sh/kernel/setup.c */ | 107 | /* arch/sh/kernel/setup.c */ |
105 | const char *get_cpu_subtype(struct sh_cpuinfo *c); | 108 | const char *get_cpu_subtype(struct sh_cpuinfo *c); |
106 | extern const struct seq_operations cpuinfo_op; | 109 | extern const struct seq_operations cpuinfo_op; |