projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b652447
)
x86: Fix build warning in tables.c when CONFIG_SEABIOS
author
Bin Meng
<
[email protected]
>
Sat, 7 May 2016 14:46:11 +0000
(07:46 -0700)
committer
Bin Meng
<
[email protected]
>
Mon, 23 May 2016 07:18:00 +0000
(15:18 +0800)
The following build warning is seen in tables.c:
warning: implicit declaration of function 'memalign'
Add the missing header file to fix it.
Signed-off-by: Bin Meng <
[email protected]
>
Reviewed-by: Stefan Roese <
[email protected]
>
Tested-by: Stefan Roese <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
arch/x86/lib/tables.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/tables.c
b/arch/x86/lib/tables.c
index a156f2ce31503cb785c7ef6cf07c568198507a4b..1213a9cd2b8c3c8b1f765a7314c4329d40a8778d 100644
(file)
--- a/
arch/x86/lib/tables.c
+++ b/
arch/x86/lib/tables.c
@@
-5,6
+5,7
@@
*/
#include <common.h>
+#include <malloc.h>
#include <asm/sfi.h>
#include <asm/mpspec.h>
#include <asm/smbios.h>