arm64: fix missing asm/pgtable-hwdef.h include in asm/processor.h
authorPaul Walmsley <[email protected]>
Tue, 6 Jan 2015 00:38:41 +0000 (17:38 -0700)
committerWill Deacon <[email protected]>
Wed, 7 Jan 2015 11:40:58 +0000 (11:40 +0000)
On next-20150105, defconfig compilation breaks with:

./arch/arm64/include/asm/processor.h:47:32: error: ‘PHYS_MASK’ undeclared (first use in this function)

Fix by including asm/pgtable-hwdef.h, where PHYS_MASK is defined.

This second version incorporates a comment from Mark Rutland
<[email protected]> to keep the includes in alphabetical order
by filename.

Signed-off-by: Paul Walmsley <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/include/asm/processor.h

index f131a98e1e64bf2bddb4572cc3c87b767a9d9bfe..f9be30ea1cbd8bc5b00cf2627c2e0be47ab54d98 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <asm/fpsimd.h>
 #include <asm/hw_breakpoint.h>
+#include <asm/pgtable-hwdef.h>
 #include <asm/ptrace.h>
 #include <asm/types.h>