Skip to content

Commit

Permalink
arm64: FIQs are unused
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Pitre authored and Catalin Marinas committed Jan 30, 2014
1 parent 812944e commit f864b61
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions arch/arm64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ EXPORT_SYMBOL_GPL(pm_power_off);
void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
EXPORT_SYMBOL_GPL(arm_pm_restart);

void arch_cpu_idle_prepare(void)
{
local_fiq_enable();
}

/*
* This is our default idle handler.
*/
Expand Down Expand Up @@ -138,7 +133,6 @@ void machine_restart(char *cmd)

/* Disable interrupts first */
local_irq_disable();
local_fiq_disable();

/* Now call the architecture specific reboot code. */
if (arm_pm_restart)
Expand Down
2 changes: 0 additions & 2 deletions arch/arm64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ asmlinkage void secondary_start_kernel(void)
complete(&cpu_running);

local_irq_enable();
local_fiq_enable();
local_async_enable();

/*
Expand Down Expand Up @@ -495,7 +494,6 @@ static void ipi_cpu_stop(unsigned int cpu)

set_cpu_online(cpu, false);

local_fiq_disable();
local_irq_disable();

while (1)
Expand Down

0 comments on commit f864b61

Please sign in to comment.