idle: Provide a generic entry point for the idle code
commita1a04ec3c7c27a682473fd9beb2c996316a64649
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Mar 2013 21:49:34 +0000 (21 22:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 8 Apr 2013 15:39:23 +0000 (8 17:39 +0200)
tree9075a4b4c001f81283b2a7d5c1668dee134ec81d
parent3a98f871ecaf44806e188184332c3fec27c8f08c
idle: Provide a generic entry point for the idle code

For now this calls cpu_idle(), but in the long run we want to move the
cpu bringup code to the core and therefor we add a state argument.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130321215233.583190032@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/cpu.h
init/main.c
kernel/Makefile
kernel/cpu/Makefile [new file with mode: 0644]
kernel/cpu/idle.c [new file with mode: 0644]