projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: cleanup output types
[fio.git]
/
arch
/
arch-ppc.h
diff --git
a/arch/arch-ppc.h
b/arch/arch-ppc.h
index 4a8aa97c4d9dbc01bd427e6c49e10fefbe5c41ac..804d596aecc632cb27f547c90a5b2b997ef79b42 100644
(file)
--- a/
arch/arch-ppc.h
+++ b/
arch/arch-ppc.h
@@
-62,7
+62,8
@@
static inline unsigned long long get_cpu_clock(void)
" cmpwi %0,0;\n"
" beq- 90b;\n"
: "=r" (rval)
" cmpwi %0,0;\n"
" beq- 90b;\n"
: "=r" (rval)
- : "i" (SPRN_TBRL));
+ : "i" (SPRN_TBRL)
+ : "cr0");
return rval;
}
return rval;
}
@@
-117,12
+118,12
@@
static void atb_clocktest(void)
#endif
#define ARCH_HAVE_INIT
#endif
#define ARCH_HAVE_INIT
-extern
int
tsc_reliable;
+extern
bool
tsc_reliable;
static inline int arch_init(char *envp[])
{
#if 0
static inline int arch_init(char *envp[])
{
#if 0
- tsc_reliable =
1
;
+ tsc_reliable =
true
;
atb_clocktest();
#endif
return 0;
atb_clocktest();
#endif
return 0;