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>
This commit is contained in:
Simon Glass 2022-12-21 16:08:15 -07:00
parent 5b958dea5c
commit 33c60a38bb
9 changed files with 22 additions and 25 deletions

View file

@ -137,7 +137,7 @@ struct arch_global_data {
#define DECLARE_GLOBAL_DATA_PTR extern struct global_data *global_data_ptr
# else
static inline __attribute__((no_instrument_function)) gd_t *get_fs_gd_ptr(void)
static inline notrace gd_t *get_fs_gd_ptr(void)
{
gd_t *gd_ptr;