watchdog: Use local_clock for get_timestamp()
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 27 Dec 2012 02:49:44 +0000 (11:49 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 Feb 2013 07:42:40 +0000 (08:42 +0100)
commitc06b4f1947213cd0902610fafcabac02d49ad728
tree8b83c64b2682c46db32f7987cd8d2795a6bf7397
parentf86f75548233a2be7379ac446e91729710d4a5f7
watchdog: Use local_clock for get_timestamp()

The get_timestamp() function is always called with current cpu,
thus using local_clock() would be more appropriate and it makes
the code shorter and cleaner IMHO.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Don Zickus <dzickus@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1356576585-28782-1-git-send-email-namhyung@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/watchdog.c
This page took 0.024828 seconds and 5 git commands to generate.