[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>
This commit is contained in:
committed by
Russell King
parent
19f07be3b8
commit
5aaf291056
@@ -17,6 +17,8 @@
|
|||||||
#ifndef __ASM_ARM_NUMNODES_H
|
#ifndef __ASM_ARM_NUMNODES_H
|
||||||
#define __ASM_ARM_NUMNODES_H
|
#define __ASM_ARM_NUMNODES_H
|
||||||
|
|
||||||
|
#include <asm/memory.h>
|
||||||
|
|
||||||
#ifndef NODES_SHIFT
|
#ifndef NODES_SHIFT
|
||||||
# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */
|
# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user