From: Linus Torvalds Date: Sat, 3 Dec 2005 07:09:06 +0000 (-0800) Subject: Add missing "local_irq_enable()" to C2/C3 exit logic X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af2eb17bac41a116b73d85b3fb160405c32bea5b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Add missing "local_irq_enable()" to C2/C3 exit logic Silly bug crept in with the C2/C3 TIF_POLLING_NRFLAG fixes. Signed-off-by: Linus Torvalds --- diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index acd875e0cac..5f51057518b 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -296,6 +296,7 @@ static void acpi_processor_idle(void) smp_mb__after_clear_bit(); if (need_resched()) { set_thread_flag(TIF_POLLING_NRFLAG); + local_irq_enable(); return; } }