ARM64: include: asm: include "asm/types.h" in "pgtable-2level-types.h" and "pgtable...
authorChen Gang <gang.chen@asianux.com>
Wed, 21 Aug 2013 09:50:17 +0000 (10:50 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 22 Aug 2013 10:44:41 +0000 (11:44 +0100)
commit360b35a874f130305715b1b854b67dc40826fc91
tree3b0f35bbfd460c8e358a35cdeb36cc5e1c8b3cb4
parent4cfb36136480c029a29dbf63a623506e6ed7282b
ARM64: include: asm: include "asm/types.h" in "pgtable-2level-types.h" and "pgtable-3level-types.h"

Need include "asm/types.h", just like arm has done, or can not pass
compiling, the related error:

  In file included from arch/arm64/include/asm/page.h:37:0,
                   from drivers/staging/lustre/include/linux/lnet/linux/lib-lnet.h:42,
                   from drivers/staging/lustre/include/linux/lnet/lib-lnet.h:44,
                   from drivers/staging/lustre/lnet/lnet/api-ni.c:38:
  arch/arm64/include/asm/pgtable-2level-types.h:19:1: error: unknown type name ‘u64
  arch/arm64/include/asm/pgtable-2level-types.h:20:1: error: unknown type name ‘u64’

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable-2level-types.h
arch/arm64/include/asm/pgtable-3level-types.h