aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-18 07:08:32 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-18 07:08:32 -0500
commitd9b9487af79955a8e8fcddc963f56697e020cfed (patch)
treefc04b367df0bf5c646f87237cd14173ffe868fea /arch/sh/include/asm
parent0c54de146ef4303ed3c5879b043894c8db637507 (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.h3
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
102extern struct pt_regs fake_swapper_regs; 102extern struct pt_regs fake_swapper_regs;
103 103
104/* arch/sh/mm/init.c */
105extern unsigned int mem_init_done;
106
104/* arch/sh/kernel/setup.c */ 107/* arch/sh/kernel/setup.c */
105const char *get_cpu_subtype(struct sh_cpuinfo *c); 108const char *get_cpu_subtype(struct sh_cpuinfo *c);
106extern const struct seq_operations cpuinfo_op; 109extern const struct seq_operations cpuinfo_op;