Fix aarch64 build issue with ION
authorJohn Stultz <john.stultz@linaro.org>
Fri, 31 Jan 2014 19:22:18 +0000 (11:22 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 31 Jan 2014 19:42:46 +0000 (11:42 -0800)
commit6e23832c042e05fcc25f9d26e7e3f7959cce7c54
tree44a5f1c4c6687cc598950df2f903983c96daff23
parent0c5c18ce48549cadd2021d133a6c0c8534617382
Fix aarch64 build issue with ION

In trying to build ION for aarch64, I came across the following build error:

In file included from /home/jstultz/projects/linux/linaro.android/arch/arm64/include/asm/page.h:39:0,
                 from drivers/staging/android/ion/ion_system_heap.c:17:
/home/jstultz/projects/linux/linaro.android/arch/arm64/include/asm/pgtable-3level-types.h:19:1: error: unknown type name u64
 typedef u64 pteval_t;
 ^
/home/jstultz/projects/linux/linaro.android/arch/arm64/include/asm/pgtable-3level-types.h:20:1: error: unknown type name u64
 typedef u64 pmdval_t;
 ^
...

The problem is asm/page.h doesn't include anything that defines u64, so
add an asm/types.h include to the pgtable-3level-types.h to match upstream
and avoid the issue.

Change-Id: I23f6d2e909cb4de1f9b4f21eb20f9200367faddd
Signed-off-by: John Stultz <john.stultz@linaro.org>
arch/arm64/include/asm/pgtable-3level-types.h