diff options
author | John Stultz <john.stultz@linaro.org> | 2015-03-12 07:16:31 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-12 12:16:38 +0300 |
commit | fb82fe2fe8588745edd73aa3a6229facac5c1e15 (patch) | |
tree | 1ab7c25dfa0e89f83f07fad2a04467d8c7864ebb /lib/list_debug.c | |
parent | 362fde0410377e468ca00ad363fdf3e3ec42eb6a (diff) | |
download | linux-fb82fe2fe8588745edd73aa3a6229facac5c1e15.tar.xz |
clocksource: Add 'max_cycles' to 'struct clocksource'
In order to facilitate clocksource validation, add a
'max_cycles' field to the clocksource structure which
will hold the maximum cycle value that can safely be
multiplied without potentially causing an overflow.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1426133800-29329-4-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions