• F
    vtime: Remove a few unneeded generic vtime state checks · 7621d1f8
    Frederic Weisbecker 提交于
    Some generic vtime APIs check if the vtime accounting
    is enabled on the local CPU before doing their work.
    
    Some of these are not needed because all their callers already
    take care of that. Let's remove the checks on these.
    Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Li Zhong <zhong@linux.vnet.ibm.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Kevin Hilman <khilman@linaro.org>
    7621d1f8
cputime.c 21.4 KB