summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-03-01 09:47:57 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-03-01 09:59:28 +0100
commitd03bd0454b101adb94d0b5a9cc11396182943cb4 (patch)
tree1ff875a7337cbbd3ba85f8990e3d4103139c41cf /arch/s390/kernel/ipl.c
parente53051e757d6cd66741955b93581e54415e48a70 (diff)
downloadop-kernel-dev-d03bd0454b101adb94d0b5a9cc11396182943cb4.zip
op-kernel-dev-d03bd0454b101adb94d0b5a9cc11396182943cb4.tar.gz
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 <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud