powerpc: Remove unneeded cpu_setup/restore from POWER7 cputable entry
authorMichael Neuling <mikey@neuling.org>
Wed, 17 Nov 2010 18:52:42 +0000 (18:52 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:22 +0000 (15:48 +1100)
These are not needed so just remove them

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/misc.S

index 96a908f..75062cb 100644 (file)
@@ -457,8 +457,6 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .dcache_bsize           = 128,
                .num_pmcs               = 6,
                .pmc_type               = PPC_PMC_IBM,
-               .cpu_setup              = __setup_cpu_power7,
-               .cpu_restore            = __restore_cpu_power7,
                .oprofile_cpu_type      = "ppc64/power7",
                .oprofile_type          = PPC_OPROFILE_POWER4,
                .oprofile_mmcra_sihv    = POWER6_MMCRA_SIHV,
index 2d29752..b69463e 100644 (file)
@@ -122,8 +122,3 @@ _GLOBAL(longjmp)
        mtlr    r0
        mr      r3,r4
        blr
-
-_GLOBAL(__setup_cpu_power7)
-_GLOBAL(__restore_cpu_power7)
-       /* place holder */
-       blr