Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4142f9fb authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Ian Maund
Browse files

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: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-commit: f864b61ee49bbf3faf9a10b9770c719536328d01
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[imaund@codeaurora.org: Resolve the context conflict with the new call to
  flush_cache_all]
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent a26d055c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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.
 */
@@ -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)
+0 −2
Original line number Diff line number Diff line
@@ -163,7 +163,6 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
	complete(&cpu_running);

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

	/*
@@ -513,7 +512,6 @@ static void ipi_cpu_stop(unsigned int cpu)
	set_cpu_online(cpu, false);

	flush_cache_all();
	local_fiq_disable();
	local_irq_disable();

	while (1)