]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: enable NAP only on cpus who support it to avoid memory corruption
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Mar 2006 23:55:01 +0000 (10:55 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 16 Mar 2006 05:55:02 +0000 (16:55 +1100)
commitc6cb3b5f368bae67c0b258cfebc0b9dbd8e1d929
treee50019d058117bac9530539ada13dc43af99bbcc
parentcd9c99d7e5f75e137c2ea0cf693773d63c8d945c
[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>
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/platforms/powermac/setup.c