2 short function calls instead of 2 "if(current->need_resched)" on the
way out.
I didn't try very hard to fix the inline dependencies, could you try to
move cpu_is_idle() from kernel/sched.c into <linux/pm.h>?
I'm sure it won't be more difficult than the last "Athlon+SMP doesn't
compile" problem ;-)
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/