Fixup ia64 32-bit register clock cycle read
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Feb 2013 11:57:56 +0000 (12:57 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Feb 2013 11:57:56 +0000 (12:57 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arch-ia64.h

index 2df55ba..8e8dd7f 100644 (file)
@@ -34,9 +34,9 @@ static inline unsigned long arch_ffz(unsigned long bitmask)
        return ia64_popcnt(bitmask & (~bitmask - 1));
 }
 
-static inline unsigned long get_cpu_clock(void)
+static inline unsigned long long get_cpu_clock(void)
 {
-       unsigned long ret;
+       unsigned long long ret;
 
        __asm__ __volatile__("mov %0=ar.itc" : "=r" (ret) : : "memory");
        return ret;