diff options
author | Borislav Petkov <bp@suse.de> | 2020-09-14 19:21:28 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-18 15:21:11 +0200 |
commit | e100777016fdf6ec3a9d7c1773b15a2b5eca6c55 (patch) | |
tree | 8ba2bf230c803b9f1cb80f6648c1dc256f2c94ee /drivers/ras | |
parent | dc0592b73715c8e84ad8ebbc50c6057d5e203aac (diff) | |
download | linux-e100777016fdf6ec3a9d7c1773b15a2b5eca6c55.tar.bz2 |
x86/mce: Annotate mce_rd/wrmsrl() with noinstr
They do get called from the #MC handler which is already marked
"noinstr".
Commit
e2def7d49d08 ("x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR")
already got rid of the instrumentation in the MSR accessors, fix the
annotation now too, in order to get rid of:
vmlinux.o: warning: objtool: do_machine_check()+0x4a: call to mce_rdmsrl() leaves .noinstr.text section
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200915194020.28807-1-bp@alien8.de
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions