summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/u-boot-x86.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-12-21 16:08:15 -0700
committerSimon Glass <sjg@chromium.org>2023-01-18 11:49:12 -0700
commit33c60a38bb95c9954704857fe5edb29b749b9b18 (patch)
tree9cd3850586f99633e33f6f14f6488130ad0a04ee /arch/x86/include/asm/u-boot-x86.h
parent5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c (diff)
trace: Use notrace for short
The attribute syntax is quite verbose. Use the macro provided for this purpose. 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.h2
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 4cf41e93541..8f38c2d1c60 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -108,7 +108,7 @@ void board_init_f_r(void) __attribute__ ((noreturn));
int arch_misc_init(void);
/* Read the time stamp counter */
-static inline __attribute__((no_instrument_function)) uint64_t rdtsc(void)
+static inline notrace uint64_t rdtsc(void)
{
uint32_t high, low;
__asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high));