Skip to content

Commit

Permalink
[POWERPC] Remove unused machine call outs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Apr 17, 2008
1 parent 5faae2e commit 7711684
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ void __init MMU_init(void)
/* Map in I/O resources */
if (ppc_md.progress)
ppc_md.progress("MMU:setio", 0x302);
if (ppc_md.setup_io_mappings)
ppc_md.setup_io_mappings();

/* Initialize the context management stuff */
mmu_context_init();
Expand Down
3 changes: 0 additions & 3 deletions include/asm-powerpc/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ struct machdep_calls {
May be NULL. */
void (*init)(void);

void (*setup_io_mappings)(void);

void (*early_serial_map)(void);
void (*kgdb_map_scc)(void);

/*
Expand Down

0 comments on commit 7711684

Please sign in to comment.