From: Vineet Gupta Date: Tue, 3 May 2016 09:23:40 +0000 (+0530) Subject: ARC: pae: STRICT_MM_TYPECHECKS was broken X-Git-Tag: v4.7-rc1~123^2~2 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=5035cd5b666b7378e32e1985225aae5746a59ac9 ARC: pae: STRICT_MM_TYPECHECKS was broken Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/include/asm/page.h b/arch/arc/include/asm/page.h index 0d53854884d0..296c3426a6ad 100644 --- a/arch/arc/include/asm/page.h +++ b/arch/arc/include/asm/page.h @@ -31,7 +31,11 @@ void clear_user_page(void *to, unsigned long u_vaddr, struct page *page); * These are used to make use of C type-checking.. */ typedef struct { +#ifdef CONFIG_ARC_HAS_PAE40 + unsigned long long pte; +#else unsigned long pte; +#endif } pte_t; typedef struct { unsigned long pgd;