diff options
author | Andy Lutomirski <luto@kernel.org> | 2020-07-03 10:02:56 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-07-04 19:47:26 +0200 |
commit | 13cbc0cd4a30c815984ad88e3a2e5976493516a3 (patch) | |
tree | 2259600f6adbc641c6205f22d8a2e242adb79c4a /kernel/configs.c | |
parent | f41f0824224eb12ad84de8972962dd54be5abe3b (diff) | |
download | linux-13cbc0cd4a30c815984ad88e3a2e5976493516a3.tar.bz2 |
x86/entry/32: Fix #MC and #DB wiring on x86_32
DEFINE_IDTENTRY_MCE and DEFINE_IDTENTRY_DEBUG were wired up as non-RAW
on x86_32, but the code expected them to be RAW.
Get rid of all the macro indirection for them on 32-bit and just use
DECLARE_IDTENTRY_RAW and DEFINE_IDTENTRY_RAW directly.
Also add a warning to make sure that we only hit the _kernel paths
in kernel mode.
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/9e90a7ee8e72fd757db6d92e1e5ff16339c1ecf9.1593795633.git.luto@kernel.org
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions