summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-11 13:16:32 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-11 12:33:01 +0100
commit129e2f3af328375629181bb02f493a8151f80ea5 (patch)
tree4374c3cbd8f0fa906adf44cc2bf4c473de4df548 /src/lib
parentfd9defc0cac3d3a89b3f1d9f973efbb2233f1ac6 (diff)
lib/malloc.c: Remove pre-proc guard around include
Guards around #includes only hide deeper issues. Change-Id: I0a356360eb3919910a980966213a2c53e99e77eb Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7424 Reviewed-by: Marc Jones <marc.jones@se-eng.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/malloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index 43e514af58..0140185a6d 100644
--- a/src/lib/malloc.c
+++ b/src/lib/malloc.c
@@ -1,8 +1,6 @@
#include <stdlib.h>
#include <console/console.h>
-#ifdef __SMM__
#include <cpu/x86/smm.h>
-#endif
#if CONFIG_DEBUG_MALLOC
#define MALLOCDBG(x...) printk(BIOS_SPEW, x)