diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2012-09-11 15:06:17 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-09-13 10:11:44 +0200 |
commit | 4b14e82e134bfcebfc2d7846a6a83fb9eefffd57 (patch) | |
tree | 3d8ec48641c5a592c5650ce23e002c1ddd7e6b8f /src | |
parent | 01a42ba25483809726ad29baecddad9bc429504d (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/trace.h | 2 |
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)); |