diff options
author | Vitaly Kuznetsov <[email protected]> | 2020-04-28 11:38:23 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:14:33 +0200 |
commit | 06184325a1cce27a02a688d98740f90fe06e0133 (patch) | |
tree | 4122eff80df1091f767a701fdebb655ee8259290 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a0bb51f2638e0810c347024679239fd10a8f7990 (diff) |
x86/idt: Annotate alloc_intr_gate() with __init
There seems to be no reason to allocate interrupt gates after init. Mark
alloc_intr_gate() as __init and add WARN_ON() checks making sure it is
only used before idt_setup_apic_and_irq_gates() finalizes IDT setup and
maps all un-allocated entries to spurious entries.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions