commit | 8b78fdb045de60a4eb35460092bbd3cffa925353 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@ozlabs.org> | Tue Oct 02 09:01:04 2018 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Oct 04 23:00:30 2018 +1000 |
tree | 88403ae001791860784b1757c87a7e16c354b1a6 | |
parent | f86ad3e0194b6964a058dc223ca80bf81b419cf0 [diff] |
powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer We currently cap the decrementer clockevent at 4 seconds, even on systems with large decrementer support. Fix this by converting the code to use clockevents_register_device() which calculates the upper bound based on the max_delta passed in. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>