summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2005-11-02 17:54:46 +0100
committerPaul Mackerras <paulus@samba.org>2005-11-03 06:56:13 +0100
commit91c33d28cda0d3ee1df0cdf399610dbb4e846a45 (patch)
tree9be3172ec876a9698e2fa8bd0356bc104213fdaa /arch/powerpc
parent[PATCH] ppc: Fix build warnings in arch/ppc/kernel/traps.c (diff)
downloadlinux-91c33d28cda0d3ee1df0cdf399610dbb4e846a45.tar.xz
linux-91c33d28cda0d3ee1df0cdf399610dbb4e846a45.zip
[PATCH] powerpc: always init nvram on 64-bit powermac
Currently there is no Kconfig symbol to indicate that we want nvram support on 64-bit kernels; it's assumed we always want it, so make the powermac setup code always initialize the pmac nvram code if 64-bit. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/powermac/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index d8bdaaf74c9b..80b58c1ec412 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -351,7 +351,7 @@ void __init pmac_setup_arch(void)
find_via_pmu();
smu_init();
-#ifdef CONFIG_NVRAM
+#if defined(CONFIG_NVRAM) || defined(CONFIG_PPC64)
pmac_nvram_init();
#endif