context_tracking: Rename context_tracking_active() to context_tracking_cpu_is_enabled()
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 6 Nov 2013 14:11:57 +0000 (15:11 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 2 Dec 2013 19:43:15 +0000 (20:43 +0100)
commitd0df09ebfc126b23c1005f98ddecc9907f9c5d25
tree66ac41ceb12f79e4895cee14170ad2b428171df6
parent58135f574f1b791c926622387780ed3d090116d6
context_tracking: Rename context_tracking_active() to context_tracking_cpu_is_enabled()

We currently have a confusing couple of API naming with the existing
context_tracking_active() and context_tracking_is_enabled().

Lets keep the latter one, context_tracking_is_enabled(), for global
context tracking state check and use context_tracking_cpu_is_enabled()
for local state check.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
include/linux/context_tracking_state.h
include/linux/vtime.h