]> git.baikalelectronics.ru Git - kernel.git/commit
x86/idt: Mark init only functions __init
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 May 2020 14:53:16 +0000 (16:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:24 +0000 (15:15 +0200)
commitae6d5f1c9e2ae33e50d43d8f90f6dfaa948cbf4c
tree3cac5cb0e0e3453c80efeedfbdb0056fa6aaa402
parent8bdd4951e55b263d7c9355242dceb611db235367
x86/idt: Mark init only functions __init

Since 8175cfbbbfcb ("x86/idt: Remove update_intr_gate()") set_intr_gate()
and idt_setup_from_table() are only called from __init functions. Mark them
as well.

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