diff options
| author | Martin Schwidefsky <[email protected]> | 2017-03-01 08:47:57 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2017-03-01 08:59:28 +0000 |
| commit | d03bd0454b101adb94d0b5a9cc11396182943cb4 (patch) | |
| tree | 1ff875a7337cbbd3ba85f8990e3d4103139c41cf /drivers/fpga/fpga-region.c | |
| parent | s390/cputime: provide archicture specific cputime_to_nsecs (diff) | |
| download | kernel-d03bd0454b101adb94d0b5a9cc11396182943cb4.tar.gz kernel-d03bd0454b101adb94d0b5a9cc11396182943cb4.zip | |
s390/timex: micro optimization for tod_to_ns
The conversion of a TOD value to nano-seconds currently uses a 32/32 bit
split with the calculation for "nsecs = (TOD * 125) >> 9". Using a
55/9 bit split saves an instruction.
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
