x86/idt: Cleanup trap_init()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 May 2020 14:53:19 +0000 (16:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:26 +0000 (15:15 +0200)
commit00229a54300108502f68c8777faca2d13f805f1a
tree5b676d21a17bbcc73c337fca26bb5c9cd50d28a7
parent5a2bafca1b0675a126143eea3610143130347783
x86/idt: Cleanup trap_init()

No point in having all the IDT cruft in trap_init(). Move it into the IDT
code and fixup the comments.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200528145522.992376498@linutronix.de
arch/x86/kernel/idt.c
arch/x86/kernel/traps.c