diff options
Diffstat (limited to 'arch/arm/kernel/fiq.c')
-rw-r--r-- | arch/arm/kernel/fiq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 6ff7919613d7..d601ef297eb6 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <asm/fiq.h> | 45 | #include <asm/fiq.h> |
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | #include <asm/system.h> | 47 | #include <asm/system.h> |
48 | #include <asm/traps.h> | ||
48 | 49 | ||
49 | static unsigned long no_fiq_insn; | 50 | static unsigned long no_fiq_insn; |
50 | 51 | ||
@@ -77,7 +78,11 @@ int show_fiq_list(struct seq_file *p, void *v) | |||
77 | 78 | ||
78 | void set_fiq_handler(void *start, unsigned int length) | 79 | void set_fiq_handler(void *start, unsigned int length) |
79 | { | 80 | { |
81 | #if defined(CONFIG_CPU_USE_DOMAINS) | ||
80 | memcpy((void *)0xffff001c, start, length); | 82 | memcpy((void *)0xffff001c, start, length); |
83 | #else | ||
84 | memcpy(vectors_page + 0x1c, start, length); | ||
85 | #endif | ||
81 | flush_icache_range(0xffff001c, 0xffff001c + length); | 86 | flush_icache_range(0xffff001c, 0xffff001c + length); |
82 | if (!vectors_high()) | 87 | if (!vectors_high()) |
83 | flush_icache_range(0x1c, 0x1c + length); | 88 | flush_icache_range(0x1c, 0x1c + length); |