Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28acf285 authored by Jacek Luczak's avatar Jacek Luczak Committed by Ingo Molnar
Browse files

x86: unlock_ExtINT_logic() - fix section mismatch warnings



Fix following warning:
WARNING: arch/x86/kernel/built-in.o(.text+0x12cc9): Section mismatch in reference from the function unlock_ExtINT_logic()

unlock_ExtINT_logic() is only used by __init check_timer(). Annotate unlock_ExtINT_logic() witch __init.

Signed-off-by: default avatarJacek Luczak <luczak.jacek@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 991074fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2068,7 +2068,7 @@ static void __init setup_nmi(void)
 * cycles as some i82489DX-based boards have glue logic that keeps the
 * 8259A interrupt line asserted until INTA.  --macro
 */
static inline void unlock_ExtINT_logic(void)
static inline void __init unlock_ExtINT_logic(void)
{
	int apic, pin, i;
	struct IO_APIC_route_entry entry0, entry1;