ACPI / PM: Fix build problems for !CONFIG_ACPI related to NVS rework
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 12 Jan 2011 21:03:20 +0000 (22:03 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 21:11:30 +0000 (16:11 -0500)
The recent rework of the NVS saving/restoring code introduced two
build issues for !CONFIG_ACPI, a warning in drivers/acpi/internal.h
and an error in arch/x86/kernel/e820.c.

Fix them by providing suitable static inline definitions of the
relevant functions.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found