]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc161c9d2e8151f161f23ae4198172d8393fed874
tree3d077f4a2f9e9bba140ce7139810f233993f3fc3
parentf8966b33a3a9a135d5916f21d4d0f8b1beeb189d
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