powerpc: exclude powerbook sleep code with CONFIG_PPC64 and CONFIG_PM
authorPaul Mackerras <paulus@samba.org>
Wed, 2 Nov 2005 04:08:17 +0000 (15:08 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 Nov 2005 04:08:17 +0000 (15:08 +1100)
commita0005034713c1c2bb5ffe9d1cab829e817fddb73
treeb359c2e5ce432255ededd4a21f3f2fd5ce5b137a
parentbccfd588423bb610fb1fde987da3ad23af1c46d7
powerpc: exclude powerbook sleep code with CONFIG_PPC64 and CONFIG_PM

We were getting powerbook sleep code included, and giving compile
errors, with CONFIG_PM=y on a 64-bit build.  This excludes that code
so the kernel will compile.  One day BenH will implement on sleep on
the G5...

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/pic.c
drivers/macintosh/via-pmu.c