diff options
author | Simon Glass | 2019-11-14 12:57:41 -0700 |
---|---|---|
committer | Tom Rini | 2019-12-02 18:25:00 -0500 |
commit | c30b7adbcaa88511e7f6095e0683d83cc958bb30 (patch) | |
tree | b39050133cf2b6336c13bbcb7ee4eea342f697ec /arch/x86 | |
parent | 9d3915b2dfe9bf5c9b09ba9119a194ff87746107 (diff) |
common: Move interrupt functions into a new header
These functions do not use driver model but are fairly widely used in
U-Boot. But it is not clear that they will use driver model anytime soon,
so we don't want to label them as 'legacy'.
Move them to a new irq_func.h header file. Avoid the name 'irq.h' since it
is widely used in U-Boot already.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/cpu/i386/interrupt.c | 1 | ||||
-rw-r--r-- | arch/x86/cpu/x86_64/interrupts.c | 1 | ||||
-rw-r--r-- | arch/x86/lib/bios.c | 1 | ||||
-rw-r--r-- | arch/x86/lib/interrupts.c | 1 | ||||
-rw-r--r-- | arch/x86/lib/spl.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/interrupt.c b/arch/x86/cpu/i386/interrupt.c index 1445204878c..78aa51a3ea6 100644 --- a/arch/x86/cpu/i386/interrupt.c +++ b/arch/x86/cpu/i386/interrupt.c @@ -13,6 +13,7 @@ #include <common.h> #include <dm.h> #include <efi_loader.h> +#include <irq_func.h> #include <asm/control_regs.h> #include <asm/i8259.h> #include <asm/interrupt.h> diff --git a/arch/x86/cpu/x86_64/interrupts.c b/arch/x86/cpu/x86_64/interrupts.c index 15830d6a1a0..634f7660c03 100644 --- a/arch/x86/cpu/x86_64/interrupts.c +++ b/arch/x86/cpu/x86_64/interrupts.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <irq_func.h> #include <asm/processor-flags.h> void enable_interrupts(void) diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c index b990f53bfd7..30c0997fd01 100644 --- a/arch/x86/lib/bios.c +++ b/arch/x86/lib/bios.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <bios_emul.h> +#include <irq_func.h> #include <vbe.h> #include <linux/linkage.h> #include <asm/cache.h> diff --git a/arch/x86/lib/interrupts.c b/arch/x86/lib/interrupts.c index 39f8deaed13..b23b8fd4021 100644 --- a/arch/x86/lib/interrupts.c +++ b/arch/x86/lib/interrupts.c @@ -30,6 +30,7 @@ */ #include <common.h> +#include <irq_func.h> #include <asm/interrupt.h> #if !CONFIG_IS_ENABLED(X86_64) diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index d4e647777af..f0e2bf053d7 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -7,6 +7,7 @@ #include <cpu_func.h> #include <debug_uart.h> #include <dm.h> +#include <irq_func.h> #include <malloc.h> #include <spl.h> #include <syscon.h> |