]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
suspend: cleanup reference to swsusp_pg_dir[]
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 1 Feb 2008 14:28:16 +0000 (15:28 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:59 +0000 (18:30 -0500)
commita6eb84bc1e069e1d285167e09035ed6c27978feb
treeab1a2bcf257f156622e0b37d79b6915b9bf41df9
parentffffa4b502099a03b5215b814fdcd79fb4348854
suspend: cleanup reference to swsusp_pg_dir[]

swsusp_pg_dir[] is used for suspend, but not for hibernation.
clean-up the ifdefs which worked by accident, while implying the opposite.
Delete the __nosavedata, which also implied the opposite.

Some day we may optimize CONFIG_ACPI_SLEEP to build minimal kernels
for just hibernate or just suspend but not both,
but today isn't that day.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/mm/init_32.c