diff options
Diffstat (limited to 'arch/blackfin/include/asm/timex.h')
-rw-r--r-- | arch/blackfin/include/asm/timex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/timex.h b/arch/blackfin/include/asm/timex.h index 22b0806161bb..248aeb066805 100644 --- a/arch/blackfin/include/asm/timex.h +++ b/arch/blackfin/include/asm/timex.h | |||
@@ -16,7 +16,7 @@ typedef unsigned long long cycles_t; | |||
16 | static inline cycles_t get_cycles(void) | 16 | static inline cycles_t get_cycles(void) |
17 | { | 17 | { |
18 | unsigned long tmp, tmp2; | 18 | unsigned long tmp, tmp2; |
19 | __asm__("%0 = cycles; %1 = cycles2;" : "=d"(tmp), "=d"(tmp2)); | 19 | __asm__ __volatile__("%0 = cycles; %1 = cycles2;" : "=d"(tmp), "=d"(tmp2)); |
20 | return tmp | ((cycles_t)tmp2 << 32); | 20 | return tmp | ((cycles_t)tmp2 << 32); |
21 | } | 21 | } |
22 | 22 | ||