summaryrefslogtreecommitdiffstats
path: root/common/meminfo.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-01-13 18:42:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-14 13:21:39 +0100
commitce50c0b2b19a4b339d848120f77811ffafdafdb1 (patch)
treee6e7b6b0b84c623ac308447c4b06a585324cb841 /common/meminfo.c
parent46dae550cdccfee407f8ced183f9102296cb79b7 (diff)
downloadbarebox-ce50c0b2b19a4b339d848120f77811ffafdafdb1.tar.gz
meminfo: fix missing include
Fix include for linkerscript variables like _etext. Otherwise build with #define DEBUG will fail. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/meminfo.c')
-rw-r--r--common/meminfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/meminfo.c b/common/meminfo.c
index 06fce5a..a7c515f 100644
--- a/common/meminfo.c
+++ b/common/meminfo.c
@@ -2,6 +2,7 @@
#include <init.h>
#include <memory.h>
#include <asm-generic/memory_layout.h>
+#include <asm-generic/sections.h>
static int display_meminfo(void)
{