diff options
author | Jiri Slaby <jslaby@suse.cz> | 2019-10-11 13:50:43 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-10-18 09:53:19 +0200 |
commit | 6ec2a968247e51535e08dbbbfc8f53c95a48cde0 (patch) | |
tree | 3b53c11f6c7a80e6138b86e13d14717bdb875a71 /arch/x86/entry | |
parent | 37503f734e9de314c4e9a1eba33e9e7d8ec80839 (diff) | |
download | linux-6ec2a968247e51535e08dbbbfc8f53c95a48cde0.tar.bz2 |
x86/asm: Annotate relocate_kernel_{32,64}.c
There are functions in relocate_kernel_{32,64}.c which are not
annotated. This makes automatic annotations on them rather hard. So
annotate all the functions now.
Note that these are not C-like functions, so FUNC is not used. Instead
CODE markers are used. Also the functions are not aligned, so the
NOALIGN versions are used:
- SYM_CODE_START_NOALIGN
- SYM_CODE_START_LOCAL_NOALIGN
- SYM_CODE_END
The result is:
0000 108 NOTYPE GLOBAL DEFAULT 1 relocate_kernel
006c 165 NOTYPE LOCAL DEFAULT 1 identity_mapped
0146 127 NOTYPE LOCAL DEFAULT 1 swap_pages
0111 53 NOTYPE LOCAL DEFAULT 1 virtual_mapped
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Alexios Zavras <alexios.zavras@intel.com>
Cc: Allison Randal <allison@lohutok.net>
Cc: Enrico Weigelt <info@metux.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.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-4-jslaby@suse.cz
Diffstat (limited to 'arch/x86/entry')
0 files changed, 0 insertions, 0 deletions