nohz: Add API to check tick state
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 11 Oct 2012 15:52:56 +0000 (17:52 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 17 Nov 2012 18:30:18 +0000 (19:30 +0100)
commit33a5f6261a61af28f7b4c86f9f958da0f206c914
treea589cb7929bf8fcc365d37b3c746d369b50d377b
parent6147a9d8070e1c9d16d57eb53a14942b95b28dc4
nohz: Add API to check tick state

We need some quick way to check if the CPU has stopped
its tick. This will be useful to implement the printk tick
using the irq work subsystem.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/tick.h
kernel/time/tick-sched.c