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

Commit 89cedfef authored by Venkatesh Pallipadi's avatar Venkatesh Pallipadi Committed by Len Brown
Browse files

cpuidle: upon BIOS bug, default to default_idle rather than polling

parent addbad46
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -123,6 +123,9 @@ config GENERIC_TIME_VSYSCALL
config ARCH_HAS_CPU_RELAX
config ARCH_HAS_CPU_RELAX
	def_bool y
	def_bool y


config ARCH_HAS_DEFAULT_IDLE
	def_bool y

config ARCH_HAS_CACHE_LINE_SIZE
config ARCH_HAS_CACHE_LINE_SIZE
	def_bool y
	def_bool y


+4 −0
Original line number Original line Diff line number Diff line
@@ -56,7 +56,11 @@ static void cpuidle_idle_call(void)
		if (pm_idle_old)
		if (pm_idle_old)
			pm_idle_old();
			pm_idle_old();
		else
		else
#if defined(CONFIG_ARCH_HAS_DEFAULT_IDLE)
			default_idle();
#else
			local_irq_enable();
			local_irq_enable();
#endif
		return;
		return;
	}
	}