]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[ARM] Add asm/memory.h to asm/numnodes.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 21 Nov 2005 15:26:18 +0000 (15:26 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Nov 2005 15:26:18 +0000 (15:26 +0000)
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>
include/asm-arm/numnodes.h

index 5d2a1034a02ef331089c94f514e21f11296d138c..8df36818ebc9d2897d3bee39bc6751ec5be4eb0e 100644 (file)
@@ -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