mirror of https://gitee.com/openkylin/linux.git
[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:
parent
19f07be3b8
commit
5aaf291056
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue