diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-11-08 22:34:10 +0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-11-10 22:36:34 +0400 |
commit | 27fdb577435e336e4b00b9e51626f9002b88a86c (patch) | |
tree | 74724584b0ede5becf3dafdee950071c4baec06e /arch/s390/kvm | |
parent | dde7d61e7f9bf0e844df375412ec5d51650db486 (diff) | |
download | linux-27fdb577435e336e4b00b9e51626f9002b88a86c.tar.xz |
msm: timer: Use clockevents_config_and_register()
Don't open code the min/max delta logic. Use the generic
version instead. Also expand the number of bits we can handle
because there isn't anything that says we can't handle all 32
bits.
Before:
max_delta_ns: 122880426391799
min_delta_ns: 122070
mult: 140737
shift: 32
After:
max_delta_ns: 131071523464981
min_delta_ns: 122069
mult: 70369
shift: 31
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions