x86/apic: Use this_cpu_ptr() in local_timer_interrupt()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:24 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 09:42:24 +0000 (11:42 +0200)
commit3bec6def39e32609e01a68b43476ee1f1c512eaa
tree83aa6271e42bb1a9c4f6e780cc6aea227c98b501
parent302a98f896bbd2feb1393d98e8b9febeb101db6e
x86/apic: Use this_cpu_ptr() in local_timer_interrupt()

Accessing the per cpu data via per_cpu(, smp_processor_id()) is
pointless. Use this_cpu_ptr() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170828064956.829552757@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/apic.c