diff options
Diffstat (limited to 'arch/arm/mach-iop13xx')
-rw-r--r-- | arch/arm/mach-iop13xx/include/mach/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-iop13xx/include/mach/time.h b/arch/arm/mach-iop13xx/include/mach/time.h index d6d52527589d..9fb2768c84bb 100644 --- a/arch/arm/mach-iop13xx/include/mach/time.h +++ b/arch/arm/mach-iop13xx/include/mach/time.h | |||
@@ -90,6 +90,11 @@ static inline u32 read_tcr1(void) | |||
90 | return val; | 90 | return val; |
91 | } | 91 | } |
92 | 92 | ||
93 | static inline void write_tcr1(u32 val) | ||
94 | { | ||
95 | asm volatile("mcr p6, 0, %0, c3, c9, 0" : : "r" (val)); | ||
96 | } | ||
97 | |||
93 | static inline void write_trr0(u32 val) | 98 | static inline void write_trr0(u32 val) |
94 | { | 99 | { |
95 | asm volatile("mcr p6, 0, %0, c4, c9, 0" : : "r" (val)); | 100 | asm volatile("mcr p6, 0, %0, c4, c9, 0" : : "r" (val)); |