diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-01-07 11:14:25 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-01-12 21:10:59 +0100 |
commit | 66a425011c61e71560c234492d204e83cfb73d1d (patch) | |
tree | 4aceb9ea2d244bf8bef0788658b2ec17dd0757da /Documentation | |
parent | 737495361d4469477ffe45d51e6fc56f44f3cc6a (diff) |
x86: __always_inline __{rd,wr}msr()
When the compiler choses to not inline the trivial MSR helpers:
vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0xce: call to __wrmsr.constprop.14() leaves .noinstr.text section
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/X/bf3gV+BW7kGEsB@hirez.programming.kicks-ass.net
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions