aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2014-01-29 13:00:45 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2014-01-30 08:51:43 -0500
commitf864b61ee49bbf3faf9a10b9770c719536328d01 (patch)
tree240ec1b80c1a986cc0d6fbaa7be06d2183877361 /arch/arm64
parent812944e91dbbfeadaeeb4443a5560a7f45648f0b (diff)
arm64: FIQs are unused
So any FIQ handling is superfluous at the moment. The functions to disable/enable FIQs is kept around if ever someone needs them in the future, but existing calling sites including arch_cpu_idle_prepare() may go for now. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/process.c6
-rw-r--r--arch/arm64/kernel/smp.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index 248a15db37f2..1c0a9be2ffa8 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -85,11 +85,6 @@ EXPORT_SYMBOL_GPL(pm_power_off);
85void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); 85void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
86EXPORT_SYMBOL_GPL(arm_pm_restart); 86EXPORT_SYMBOL_GPL(arm_pm_restart);
87 87
88void arch_cpu_idle_prepare(void)
89{
90 local_fiq_enable();
91}
92
93/* 88/*
94 * This is our default idle handler. 89 * This is our default idle handler.
95 */ 90 */
@@ -138,7 +133,6 @@ void machine_restart(char *cmd)
138 133
139 /* Disable interrupts first */ 134 /* Disable interrupts first */
140 local_irq_disable(); 135 local_irq_disable();
141 local_fiq_disable();
142 136
143 /* Now call the architecture specific reboot code. */ 137 /* Now call the architecture specific reboot code. */
144 if (arm_pm_restart) 138 if (arm_pm_restart)
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
index 1b7617ab499b..7cfb92a4ab66 100644
--- a/arch/arm64/kernel/smp.c
+++ b/arch/arm64/kernel/smp.c
@@ -161,7 +161,6 @@ asmlinkage void secondary_start_kernel(void)
161 complete(&cpu_running); 161 complete(&cpu_running);
162 162
163 local_irq_enable(); 163 local_irq_enable();
164 local_fiq_enable();
165 local_async_enable(); 164 local_async_enable();
166 165
167 /* 166 /*
@@ -495,7 +494,6 @@ static void ipi_cpu_stop(unsigned int cpu)
495 494
496 set_cpu_online(cpu, false); 495 set_cpu_online(cpu, false);
497 496
498 local_fiq_disable();
499 local_irq_disable(); 497 local_irq_disable();
500 498
501 while (1) 499 while (1)