Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155759
b: refs/heads/master
c: 1277580
h: refs/heads/master
i:
  155757: ea7a462
  155755: 6ab48c7
  155751: 324c392
  155743: 15da71c
v: v3
  • Loading branch information
Martin Schwidefsky committed Jul 24, 2009
1 parent 882a1c5 commit 4efbffe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a6ba4600d6fb913ddb0dd08843ad75405795883
refs/heads/master: 1277580fe5dfb5aef84854bdb7983657df00b920
11 changes: 9 additions & 2 deletions trunk/arch/s390/kernel/vdso64/clock_gettime.S
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,17 @@ __kernel_clock_gettime:
llilh %r4,0x0100
sar %a4,%r4
lghi %r4,0
epsw %r5,0
sacf 512 /* Magic ectg instruction */
.insn ssf,0xc80100000000,__VDSO_ECTG_BASE(4),__VDSO_ECTG_USER(4),4
sacf 0
sar %a4,%r2
tml %r5,0x4000
jo 11f
tml %r5,0x8000
jno 10f
sacf 256
j 11f
10: sacf 0
11: sar %a4,%r2
algr %r1,%r0 /* r1 = cputime as TOD value */
mghi %r1,1000 /* convert to nanoseconds */
srlg %r1,%r1,12 /* r1 = cputime in nanosec */
Expand Down

0 comments on commit 4efbffe

Please sign in to comment.