lockup_detector: Convert per_cpu to __get_cpu_var for readability
authorDon Zickus <dzickus@redhat.com>
Mon, 17 May 2010 22:06:04 +0000 (18:06 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 19 May 2010 09:32:14 +0000 (11:32 +0200)
commit26e09c6eee14f4827b55137ba0eedc4e77cd50ab
tree9088d86ce87557e4d35a7b5832fdbe1d235516e4
parentcafcd80d216bc2136b8edbb794327e495792c666
lockup_detector: Convert per_cpu to __get_cpu_var for readability

Just a bunch of conversions as suggested by Frederic W.
__get_cpu_var() provides preemption disabled checks.

Plus it gives more readability as it makes it obvious
we are dealing locally now with these vars.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
LKML-Reference: <1274133966-18415-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
kernel/watchdog.c