Nick Piggin wrote:
>
> void default_idle(void)
> {
> + local_irq_enable();
> +
Stupid question. Why is this sti() needed?
Interrupts are enabled in start_secondary() before cpu_idle()
call, and they can't be disabled after return from schedule().
The same question applies to poll_idle/mwait_idle.
Oleg.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]