summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-21 16:26:18 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-21 16:26:18 +0100
commit5aaf291056b6142c11f6f7fd48cf937595a70e93 (patch)
tree5a08149880480ddbe43929e99adf152fc94b11c1 /include
parent[ARM] 3171/1: To add missing QMGR region size for IXP4XX (diff)
downloadlinux-5aaf291056b6142c11f6f7fd48cf937595a70e93.tar.xz
linux-5aaf291056b6142c11f6f7fd48cf937595a70e93.zip
[ARM] Add asm/memory.h to asm/numnodes.h
Since the defintion of NODES_SHIFT may be overridden in asm/arch/memory.h it's important to include asm/memory.h into asm/numnodes.h to ensure that the correct value is always defined. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/numnodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/numnodes.h b/include/asm-arm/numnodes.h
index 5d2a1034a02e..8df36818ebc9 100644
--- a/include/asm-arm/numnodes.h
+++ b/include/asm-arm/numnodes.h
@@ -17,6 +17,8 @@
#ifndef __ASM_ARM_NUMNODES_H
#define __ASM_ARM_NUMNODES_H
+#include <asm/memory.h>
+
#ifndef NODES_SHIFT
# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */
#endif