aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/trace.h b/src/include/trace.h
index ff5b6c2531..5171525f6e 100644
--- a/src/include/trace.h
+++ b/src/include/trace.h
@@ -29,7 +29,7 @@
#else /* !__PRE_RAM__ */
-#if CONFIG_TRACE
+#if CONFIG_TRACE && !defined(__SMM__)
void __cyg_profile_func_enter( void *, void * )
__attribute__ ((no_instrument_function));