diff options
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index a4c2964a3ca6..61c65d19ef06 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -63,10 +63,6 @@ unsigned int DMA_MODE_WRITE; | |||
63 | 63 | ||
64 | int have_of = 1; | 64 | int have_of = 1; |
65 | 65 | ||
66 | #ifdef CONFIG_PPC_MULTIPLATFORM | ||
67 | dev_t boot_dev; | ||
68 | #endif /* CONFIG_PPC_MULTIPLATFORM */ | ||
69 | |||
70 | #ifdef CONFIG_VGA_CONSOLE | 66 | #ifdef CONFIG_VGA_CONSOLE |
71 | unsigned long vgacon_remap_base; | 67 | unsigned long vgacon_remap_base; |
72 | #endif | 68 | #endif |
@@ -101,7 +97,7 @@ unsigned long __init early_init(unsigned long dt_ptr) | |||
101 | * Identify the CPU type and fix up code sections | 97 | * Identify the CPU type and fix up code sections |
102 | * that depend on which cpu we have. | 98 | * that depend on which cpu we have. |
103 | */ | 99 | */ |
104 | spec = identify_cpu(offset); | 100 | spec = identify_cpu(offset, mfspr(SPRN_PVR)); |
105 | 101 | ||
106 | do_feature_fixups(spec->cpu_features, | 102 | do_feature_fixups(spec->cpu_features, |
107 | PTRRELOC(&__start___ftr_fixup), | 103 | PTRRELOC(&__start___ftr_fixup), |