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
This commit is contained in:
Thomas Gleixner 2020-05-28 16:53:19 +02:00
commit 00229a5430
2 changed files with 18 additions and 9 deletions