[patch V3 34/44] x86/idt: Prepare for table based init

2017-08-28 Thread Thomas Gleixner
The IDT setup code is handled in several places. All of them use variants of set_intr_gate() inlines. This can be done with a table based initialization, which allows to reduce the inline zoo and puts all IDT related code and information into a single place. Add the infrastructure.

[patch V3 34/44] x86/idt: Prepare for table based init

2017-08-28 Thread Thomas Gleixner
The IDT setup code is handled in several places. All of them use variants of set_intr_gate() inlines. This can be done with a table based initialization, which allows to reduce the inline zoo and puts all IDT related code and information into a single place. Add the infrastructure.