diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-03-12 10:55:01 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-16 16:55:02 +1100 |
commit | c6cb3b5f368bae67c0b258cfebc0b9dbd8e1d929 (patch) | |
tree | e50019d058117bac9530539ada13dc43af99bbcc /arch/powerpc/platforms/powermac/setup.c | |
parent | cd9c99d7e5f75e137c2ea0cf693773d63c8d945c (diff) | |
download | blackbird-op-linux-c6cb3b5f368bae67c0b258cfebc0b9dbd8e1d929.tar.gz blackbird-op-linux-c6cb3b5f368bae67c0b258cfebc0b9dbd8e1d929.zip |
[PATCH] powerpc: enable NAP only on cpus who support it to avoid memory corruption
This patch fixes incorrect setting of powersave_nap to 1 on all
PowerMacs, potentially causing memory corruption on some models. This
bug was introuced by me during the 32/64 bits merge.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/setup.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 1955462f4082..29c2946f1c77 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c @@ -621,10 +621,6 @@ static void __init pmac_init_early(void) /* Probe motherboard chipset */ pmac_feature_init(); - /* We can NAP */ - powersave_nap = 1; - printk(KERN_INFO "Using native/NAP idle loop\n"); - /* Initialize debug stuff */ udbg_scc_init(!!strstr(cmd_line, "sccdbg")); udbg_adb_init(!!strstr(cmd_line, "btextdbg")); |