projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
38b9354
)
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
author
Jens Axboe
<axboe@kernel.dk>
Thu, 28 Feb 2013 19:08:12 +0000
(20:08 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 28 Feb 2013 19:08:12 +0000
(20:08 +0100)
arch/arch-ppc.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arch-ppc.h
b/arch/arch-ppc.h
index 0cc0cbda7d69890e10ff41816d836b4189684963..65e6b74acfba431158e07898398312a01a707a3e 100644
(file)
--- a/
arch/arch-ppc.h
+++ b/
arch/arch-ppc.h
@@
-72,9
+72,9
@@
static inline unsigned long long get_cpu_clock(void)
tbl = mfspr(SPRN_ATBL);
tbu1 = mfspr(SPRN_ATBU);
} else {
-
__asm__ __volatile__("mftbu %0" : "=r"(tbu0)
);
-
__asm__ __volatile__("mftb %0" : "=r"(tbl)
);
-
__asm__ __volatile__("mftbu %0" : "=r"(tbu1)
);
+
tbu0 = mfspr(SPRN_TBRU
);
+
tbl = mfspr(SPRN_TBRL
);
+
tbu1 = mfspr(SPRN_TBRU
);
}
} while (tbu0 != tbu1);