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 ba452b1..804d596 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;
 }