aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/numnodes.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-21 10:26:18 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-21 10:26:18 -0500
commit5aaf291056b6142c11f6f7fd48cf937595a70e93 (patch)
tree5a08149880480ddbe43929e99adf152fc94b11c1 /include/asm-arm/numnodes.h
parent19f07be3b83d707940cc29abd8cc99d36d9d1f4e (diff)
[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/asm-arm/numnodes.h')
-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 @@
17#ifndef __ASM_ARM_NUMNODES_H 17#ifndef __ASM_ARM_NUMNODES_H
18#define __ASM_ARM_NUMNODES_H 18#define __ASM_ARM_NUMNODES_H
19 19
20#include <asm/memory.h>
21
20#ifndef NODES_SHIFT 22#ifndef NODES_SHIFT
21# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */ 23# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */
22#endif 24#endif