x86/asm/entry: Annotate interrupt symbols properly
authorJiri Slaby <jslaby@suse.cz>
Fri, 11 Oct 2019 11:50:50 +0000 (13:50 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 18 Oct 2019 08:40:11 +0000 (10:40 +0200)
commitcc66936e504a5b91dda52fda90203e174a7a71aa
treef7ad635cd005f80e9e0d4a4b737cf8a68e069013
parente9b9d020c4873d5e90d9986cfd137afbafbc5bfa
x86/asm/entry: Annotate interrupt symbols properly

* annotate functions properly by SYM_CODE_START, SYM_CODE_START_LOCAL*
  and SYM_CODE_END -- these are not C-like functions, so they have to
  be annotated using CODE.
* use SYM_INNER_LABEL* for labels being in the middle of other functions
  This prevents nested labels annotations.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191011115108.12392-11-jslaby@suse.cz
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S