OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f07be
)
[ARM] Add asm/memory.h to asm/numnodes.h
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Mon, 21 Nov 2005 15:26:18 +0000
(15:26 +0000)
committer
Russell 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
patch
|
blob
|
history
diff --git
a/include/asm-arm/numnodes.h
b/include/asm-arm/numnodes.h
index
5d2a103
..
8df3681
100644
(file)
--- 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