Merge branch 'asmfix' of https://github.com/oohal/fio
authorJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 21:35:49 +0000 (15:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 21:35:49 +0000 (15:35 -0600)
arch/arch-ppc.h

index ba452b15b1fff30e92e62820b1301ab42cf100ed..804d596aecc632cb27f547c90a5b2b997ef79b42 100644 (file)
@@ -62,7 +62,8 @@ static inline unsigned long long get_cpu_clock(void)
                "       cmpwi %0,0;\n"
                "       beq-  90b;\n"
        : "=r" (rval)
-       : "i" (SPRN_TBRL));
+       : "i" (SPRN_TBRL)
+       : "cr0");
 
        return rval;
 }