]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Remove unused machine call outs
authorKumar Gala <galak@kernel.crashing.org>
Wed, 16 Apr 2008 13:19:36 +0000 (23:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Apr 2008 00:01:00 +0000 (10:01 +1000)
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>
arch/powerpc/mm/init_32.c
include/asm-powerpc/machdep.h

index 9a0ea2cbf9112f093a9598884ea9ec2c4b0708a7..47325f23c51f2b325ba30fd8cd89d972ed2a0318 100644 (file)
@@ -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();
index b95386aed50d15bd1063ea39d228e189d6df1491..54ed64df95b878c26ae7ac6a3d91865acdf99849 100644 (file)
@@ -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);
 
        /*