diff options
author | Kees Cook <keescook@chromium.org> | 2017-05-09 14:00:51 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-22 03:10:12 +0200 |
commit | c0944883c97c0ddc71da67cc731590a7c878a1a2 (patch) | |
tree | a417cfd4da063f8071650c3667b5e901942b37c9 /kernel/power | |
parent | 41f1830f5a7af77cf5c86359aba3cbd706687e52 (diff) | |
download | linux-stable-c0944883c97c0ddc71da67cc731590a7c878a1a2.tar.gz linux-stable-c0944883c97c0ddc71da67cc731590a7c878a1a2.tar.bz2 linux-stable-c0944883c97c0ddc71da67cc731590a7c878a1a2.zip |
x86/power/64: Use char arrays for asm function names
This switches the hibernate_64.S function names into character arrays
to match other areas of the kernel where this is done (e.g., linker
scripts). Specifically this fixes a compile-time error noticed by the
future CONFIG_FORTIFY_SOURCE routines that complained about PAGE_SIZE
being copied out of the "single byte" core_restore_code variable.
Additionally drops the "acpi_save_state_mem" exern which does not
appear to be used anywhere else in the kernel.
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions