ACPI/sleep: Convert acpi_wakeup_address into a function
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 26 Nov 2019 16:54:16 +0000 (08:54 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:15:48 +0000 (10:15 +0100)
commit8c53b318b222eff55d2900b554094a099b1a30f6
treeeeee7f57178086e00a21befe9bd4c577230218dc
parentcb28909525acdd1a89c5b2de761eaf2f788c0057
ACPI/sleep: Convert acpi_wakeup_address into a function

Convert acpi_wakeup_address from a raw variable into a function so that
x86 can wrap its dereference of the real mode boot header in a function
instead of broadcasting it to the world via a #define.  This sets the
stage for a future patch to move x86's definition of the new function,
acpi_get_wakeup_address(), out of asm/acpi.h and thus break acpi.h's
dependency on asm/realmode.h.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Link: https://lkml.kernel.org/r/20191126165417.22423-12-sean.j.christopherson@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/ia64/include/asm/acpi.h
arch/ia64/kernel/acpi.c
arch/x86/include/asm/acpi.h
drivers/acpi/sleep.c