Forráskód Böngészése

[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>
Russell King 19 éve
szülő
commit
5aaf291056
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      include/asm-arm/numnodes.h

+ 2 - 0
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