提交 f864b61e 编写于 作者: N Nicolas Pitre 提交者: Catalin Marinas

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: NNicolas Pitre <nico@linaro.org>
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
上级 812944e9
...@@ -85,11 +85,6 @@ EXPORT_SYMBOL_GPL(pm_power_off); ...@@ -85,11 +85,6 @@ EXPORT_SYMBOL_GPL(pm_power_off);
void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
EXPORT_SYMBOL_GPL(arm_pm_restart); EXPORT_SYMBOL_GPL(arm_pm_restart);
void arch_cpu_idle_prepare(void)
{
local_fiq_enable();
}
/* /*
* This is our default idle handler. * This is our default idle handler.
*/ */
...@@ -138,7 +133,6 @@ void machine_restart(char *cmd) ...@@ -138,7 +133,6 @@ void machine_restart(char *cmd)
/* Disable interrupts first */ /* Disable interrupts first */
local_irq_disable(); local_irq_disable();
local_fiq_disable();
/* Now call the architecture specific reboot code. */ /* Now call the architecture specific reboot code. */
if (arm_pm_restart) if (arm_pm_restart)
......
...@@ -161,7 +161,6 @@ asmlinkage void secondary_start_kernel(void) ...@@ -161,7 +161,6 @@ asmlinkage void secondary_start_kernel(void)
complete(&cpu_running); complete(&cpu_running);
local_irq_enable(); local_irq_enable();
local_fiq_enable();
local_async_enable(); local_async_enable();
/* /*
...@@ -495,7 +494,6 @@ static void ipi_cpu_stop(unsigned int cpu) ...@@ -495,7 +494,6 @@ static void ipi_cpu_stop(unsigned int cpu)
set_cpu_online(cpu, false); set_cpu_online(cpu, false);
local_fiq_disable();
local_irq_disable(); local_irq_disable();
while (1) while (1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册