[PATCH] Make apm buildable without legacy pm
authorDave Jones <davej@redhat.com>
Sun, 8 Jan 2006 09:05:09 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:08 +0000 (20:14 -0800)
commit987d4613e52e4f655278265aabbcc69237018b1d
tree4190d1488573764e871c3299bac0624858ec3a19
parent9fe656e91fd95d0893cc4831b032e0be60791bd7
[PATCH] Make apm buildable without legacy pm

APM doesn't _need_ the PM_LEGACY junk, so remove it's dependancy from
Kconfig, and ifdef the junk in the code.  Whilst the ifdefs are ugly, when
the legacy stuff gets ripped out so will the ifdefs.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig
arch/i386/kernel/apm.c