arm64: pgtable: Include <asm/types.h>
authorMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 20:59:55 +0000 (20:59 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 20:59:55 +0000 (20:59 +0000)
arch/arm64/include/asm/pgtable-3level-types.h uses Linux-specific types
but doesn't include the header defining them causing build failures if
it's not pulled in by some other header first.  Fix that by adding the
required include.

Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/pgtable-3level-types.h

index 4489615f14a90629872a33f48ede410094d4a9c9..4e94424938a4c3717304b6a86247101f5abd5f90 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef __ASM_PGTABLE_3LEVEL_TYPES_H
 #define __ASM_PGTABLE_3LEVEL_TYPES_H
 
+#include <asm/types.h>
+
 typedef u64 pteval_t;
 typedef u64 pmdval_t;
 typedef u64 pgdval_t;