]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/acpi: Support objtool validation in wakeup_64.S
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:29:33 +0000 (15:29 -0600)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 26 Jan 2021 17:33:03 +0000 (11:33 -0600)
commitaeb818fcc94071e44203b3a36392562e5b88d9ec
treee1fb490e8c5896b4c85d0c16717b227da00ad736
parentf83d1a0190bf6ac788a848454d21daee2299d085
x86/acpi: Support objtool validation in wakeup_64.S

The OBJECT_FILES_NON_STANDARD annotation is used to tell objtool to
ignore a file.  File-level ignores won't work when validating vmlinux.o.

Instead, tell objtool to ignore do_suspend_lowlevel() directly with the
STACK_FRAME_NON_STANDARD annotation.

Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Len Brown <len.brown@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/269eda576c53bc9ecc8167c211989111013a67aa.1611263462.git.jpoimboe@redhat.com
arch/x86/kernel/acpi/Makefile
arch/x86/kernel/acpi/wakeup_64.S