]> 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)
commit42ee8e7984e6ae5d2ac8c217e209eca253efc2c8
tree3d077f4a2f9e9bba140ce7139810f233993f3fc3
parent473cfb9549a68f376503bc1af2d087456bbae1c7
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