diff options
author | Jiri Slaby <jslaby@suse.cz> | 2019-10-11 13:50:42 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-10-18 09:50:25 +0200 |
commit | 37503f734e9de314c4e9a1eba33e9e7d8ec80839 (patch) | |
tree | fa59c14a40b9ecf599bc1de190d18bcf21d615ac /.clang-format | |
parent | linkage: Introduce new macros for assembler symbols (diff) | |
download | linux-37503f734e9de314c4e9a1eba33e9e7d8ec80839.tar.xz linux-37503f734e9de314c4e9a1eba33e9e7d8ec80839.zip |
x86/asm/suspend: Use SYM_DATA for data
Some global data in the suspend code were marked as `ENTRY'. ENTRY was
intended for functions and shall be paired with ENDPROC. ENTRY also
aligns symbols to 16 bytes which creates unnecessary holes.
Note that:
* saved_magic (long) in wakeup_32 is still prepended by section's ALIGN
* saved_magic (quad) in wakeup_64 follows a bunch of quads which are
aligned (but need not be aligned to 16)
Since historical markings are being dropped, make proper use of newly
added SYM_DATA in this code.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Len Brown <len.brown@intel.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191011115108.12392-3-jslaby@suse.cz
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions