[coreboot-gerrit] Patch set updated for coreboot: f3a98e2 lib/malloc.c: Remove pre-proc guard around include

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Tue Nov 11 08:56:07 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7424

-gerrit

commit f3a98e26e42bbf4e47fed3fbd5bbbbddc96c85d9
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Nov 11 13:16:32 2014 +1100

    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 at alterapraxis.com>
---
 src/lib/malloc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index 43e514a..0140185 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)



More information about the coreboot-gerrit mailing list