Skip to content

Commit f864b61

Browse files
Nicolas Pitrectmarinas
authored andcommitted
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>
1 parent 812944e commit f864b61

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arch/arm64/kernel/process.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ EXPORT_SYMBOL_GPL(pm_power_off);
8585
void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
8686
EXPORT_SYMBOL_GPL(arm_pm_restart);
8787

88-
void arch_cpu_idle_prepare(void)
89-
{
90-
local_fiq_enable();
91-
}
92-
9388
/*
9489
* This is our default idle handler.
9590
*/
@@ -138,7 +133,6 @@ void machine_restart(char *cmd)
138133

139134
/* Disable interrupts first */
140135
local_irq_disable();
141-
local_fiq_disable();
142136

143137
/* Now call the architecture specific reboot code. */
144138
if (arm_pm_restart)

arch/arm64/kernel/smp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ asmlinkage void secondary_start_kernel(void)
161161
complete(&cpu_running);
162162

163163
local_irq_enable();
164-
local_fiq_enable();
165164
local_async_enable();
166165

167166
/*
@@ -495,7 +494,6 @@ static void ipi_cpu_stop(unsigned int cpu)
495494

496495
set_cpu_online(cpu, false);
497496

498-
local_fiq_disable();
499497
local_irq_disable();
500498

501499
while (1)

0 commit comments

Comments
 (0)