x86/msr: Remove .fixup usage
authorPeter Zijlstra <peterz@infradead.org>
Wed, 10 Nov 2021 10:01:10 +0000 (11:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:47 +0000 (09:09 +0100)
commitd52a7344bdfa9c3442d3f86fb3501d9343726c76
tree3d077f4a2f9e9bba140ce7139810f233993f3fc3
parent4b5305decc8436bfe363d1c1773e8fa1c828b14d
x86/msr: Remove .fixup usage

Rework the MSR accessors to remove .fixup usage. Add two new extable
types (to the 4 already existing msr ones) using the new register
infrastructure to record which register should get the error value.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.364084212@infradead.org
arch/x86/include/asm/extable_fixup_types.h
arch/x86/include/asm/msr.h
arch/x86/mm/extable.c