diff options
| author | 2020-04-28 11:38:23 +0200 | |
|---|---|---|
| committer | 2020-06-11 15:14:33 +0200 | |
| commit | 06184325a1cce27a02a688d98740f90fe06e0133 (patch) | |
| tree | 4122eff80df1091f767a701fdebb655ee8259290 /tools/perf/scripts/python/netdev-times.py | |
| parent | x86/xen: Split HVM vector callback setup and interrupt gate allocation (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 <tglx@linutronix.de>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200428093824.1451532-3-vkuznets@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
