diff options
author | Simon Glass <sjg@chromium.org> | 2013-06-11 22:14:50 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-26 18:18:56 +0400 |
commit | ca35a0cdf26ff25b4128822ad2554ebd03eb2d42 (patch) | |
tree | 2c2dfa844af693a7c74f23234cfae7c70859cbcb /arch/arm/cpu/armv7/s5p-common/timer.c | |
parent | bce1b92aa11fc7dadae19452e9ff84c33a4b0c9a (diff) | |
download | u-boot-ca35a0cdf26ff25b4128822ad2554ebd03eb2d42.tar.xz |
exynos: Avoid function instrumentation for microsecond timer
For tracing to work it has to be able to access the microsecond timer
without causing a recursive call to the function entry/exit handlers.
Add attributes to the relevant functions to support this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/armv7/s5p-common/timer.c')
-rw-r--r-- | arch/arm/cpu/armv7/s5p-common/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c index 4adfaae656..637593c339 100644 --- a/arch/arm/cpu/armv7/s5p-common/timer.c +++ b/arch/arm/cpu/armv7/s5p-common/timer.c @@ -95,7 +95,7 @@ unsigned long get_timer(unsigned long base) return time_ms - base; } -unsigned long timer_get_us(void) +unsigned long __attribute__((no_instrument_function)) timer_get_us(void) { static unsigned long base_time_us; |