From: Guenter Roeck Date: Wed, 15 Aug 2018 20:22:27 +0000 (-0700) Subject: x86: i8259: Add missing include file X-Git-Tag: v4.9.121~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc83ba490ddae49dc2c8ccdf2f32ae2ac4aeb562;p=platform%2Fkernel%2Flinux-amlogic.git x86: i8259: Add missing include file commit 0a957467c5fd46142bc9c52758ffc552d4c5e2f7 upstream. i8259.h uses inb/outb and thus needs to include asm/io.h to avoid the following build error, as seen with x86_64:defconfig and CONFIG_SMP=n. In file included from drivers/rtc/rtc-cmos.c:45:0: arch/x86/include/asm/i8259.h: In function 'inb_pic': arch/x86/include/asm/i8259.h:32:24: error: implicit declaration of function 'inb' arch/x86/include/asm/i8259.h: In function 'outb_pic': arch/x86/include/asm/i8259.h:45:2: error: implicit declaration of function 'outb' Reported-by: Sebastian Gottschall Suggested-by: Sebastian Gottschall Fixes: 447ae3166702 ("x86: Don't include linux/irq.h from asm/hardirq.h") Signed-off-by: Guenter Roeck Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/x86/include/asm/i8259.h b/arch/x86/include/asm/i8259.h index bb07878..be6492c 100644 --- a/arch/x86/include/asm/i8259.h +++ b/arch/x86/include/asm/i8259.h @@ -2,6 +2,7 @@ #define _ASM_X86_I8259_H #include +#include extern unsigned int cached_irq_mask;