Fix tracing compilation on SMM enabled targets.

Disallow tracing while in SMM.

Change-Id: Icde17629bb06a615cc48f017fd0cd1f7b720e62d
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Reviewed-on: http://review.coreboot.org/1503
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
Rudolf Marek 2012-09-11 15:06:17 +02:00 committed by Patrick Georgi
parent 01a42ba254
commit 4b14e82e13
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
#else /* !__PRE_RAM__ */ #else /* !__PRE_RAM__ */
#if CONFIG_TRACE #if CONFIG_TRACE && !defined(__SMM__)
void __cyg_profile_func_enter( void *, void * ) void __cyg_profile_func_enter( void *, void * )
__attribute__ ((no_instrument_function)); __attribute__ ((no_instrument_function));