]> git.baikalelectronics.ru Git - kernel.git/commit
x86/ACPI/sleep: Move acpi_get_wakeup_address() into sleep.c, remove <asm/realmode...
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 26 Nov 2019 16:54:17 +0000 (08:54 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:15:48 +0000 (10:15 +0100)
commit170bdb623782137b29f89b1d9bffb676d5dd4bf5
treed08d220a1208cb6e6e2867daf4c60a6de9e44a97
parentc43b62ace2211d4ce1147b2e40ea1c73a4c0a47d
x86/ACPI/sleep: Move acpi_get_wakeup_address() into sleep.c, remove <asm/realmode.h> from <asm/acpi.h>

Move the definition of acpi_get_wakeup_address() into sleep.c to break
linux/acpi.h's dependency (by way of asm/acpi.h) on asm/realmode.h.
Everyone and their mother includes linux/acpi.h, i.e. modifying
realmode.h results in a full kernel rebuild, which makes the already
inscrutable real mode boot code even more difficult to understand and is
positively rage inducing when trying to make changes to x86's boot flow.

No functional change intended.

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