aboutsummaryrefslogtreecommitdiffstats
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
parents390/cputime: provide archicture specific cputime_to_nsecs (diff)
downloadlinux-dev-d03bd0454b101adb94d0b5a9cc11396182943cb4.tar.xz
linux-dev-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 <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
0 files changed, 0 insertions, 0 deletions