On 2020-06-16 11:35, Thomas Huth wrote:
On 15/06/2020 11.31, Pierre Morel wrote:
The hardware gives us a good definition of the microsecond,
let's keep this information and let the routine accessing
the hardware keep all the information and return microseconds.
Calculate delays in microseconds and take care about wrapping
around zero.
Define values with macros and use inlines to keep the
milliseconds interface.
Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
---
lib/s390x/asm/time.h | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
In case you respin, there is a typo in the title ("caluculations") ...
otherwise this can be fixed when the patch gets picked up.
Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>
Yes if I respin I modifify it :)
Thanks,
Pierre
--
Pierre Morel
IBM Lab Boeblingen