diff options
author | Simon Glass <sjg@chromium.org> | 2013-06-11 11:14:52 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-26 10:18:56 -0400 |
commit | d8819f94d58d8c94c619431bc34232a52b2d9a6b (patch) | |
tree | e23d626a39c88355177444a25799d0e320279d3f /arch/x86/include/asm/u-boot-x86.h | |
parent | 5b7dcf311236f45ef9f2b1d6a72080bd3fe99ee5 (diff) | |
download | u-boot-imx-d8819f94d58d8c94c619431bc34232a52b2d9a6b.zip u-boot-imx-d8819f94d58d8c94c619431bc34232a52b2d9a6b.tar.gz u-boot-imx-d8819f94d58d8c94c619431bc34232a52b2d9a6b.tar.bz2 |
x86: Support tracing function
Some changes are needed to x86 timer functions to support tracing. Add
these so that the feature works correctly.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/u-boot-x86.h')
-rw-r--r-- | arch/x86/include/asm/u-boot-x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h index 22e0934..709dc84 100644 --- a/arch/x86/include/asm/u-boot-x86.h +++ b/arch/x86/include/asm/u-boot-x86.h @@ -64,7 +64,7 @@ void board_init_f_r_trampoline(ulong) __attribute__ ((noreturn)); void board_init_f_r(void) __attribute__ ((noreturn)); /* Read the time stamp counter */ -static inline uint64_t rdtsc(void) +static inline __attribute__((no_instrument_function)) uint64_t rdtsc(void) { uint32_t high, low; __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)); |