aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-04-16 09:19:36 -0400
committerPaul Mackerras <paulus@samba.org>2008-04-16 20:01:00 -0400
commit771168494719b90621ac61f9ae68c4af494e418f (patch)
tree9d49ea06d573a43eac1bc829bfdc63ee961da1bd
parent5faae2e5d1f53df9dce482032c8486bc3a1feffc (diff)
[POWERPC] Remove unused machine call outs
When we moved to arch/powerpc we actively tried to avoid using the ppc_md.setup_io_mappings(). Currently no board ports use it so let's remove it to avoid any new boards using it. Also, remove early_serial_map() since we don't even have a call out for it in arch/powerpc. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/mm/init_32.c2
-rw-r--r--include/asm-powerpc/machdep.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 9a0ea2cbf911..47325f23c51f 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -185,8 +185,6 @@ void __init MMU_init(void)
185 /* Map in I/O resources */ 185 /* Map in I/O resources */
186 if (ppc_md.progress) 186 if (ppc_md.progress)
187 ppc_md.progress("MMU:setio", 0x302); 187 ppc_md.progress("MMU:setio", 0x302);
188 if (ppc_md.setup_io_mappings)
189 ppc_md.setup_io_mappings();
190 188
191 /* Initialize the context management stuff */ 189 /* Initialize the context management stuff */
192 mmu_context_init(); 190 mmu_context_init();
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index b95386aed50d..54ed64df95b8 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -198,9 +198,6 @@ struct machdep_calls {
198 May be NULL. */ 198 May be NULL. */
199 void (*init)(void); 199 void (*init)(void);
200 200
201 void (*setup_io_mappings)(void);
202
203 void (*early_serial_map)(void);
204 void (*kgdb_map_scc)(void); 201 void (*kgdb_map_scc)(void);
205 202
206 /* 203 /*