summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-05-03 14:53:40 +0530
committerVineet Gupta <vgupta@synopsys.com>2016-05-13 09:16:09 +0530
commit5035cd5b666b7378e32e1985225aae5746a59ac9 (patch)
tree41254bd5ee9b2d42e00dafff829442b4b24085b3 /arch/arc
parent966657890e874d3b01d94b1ec156b7da54ba99b0 (diff)
downloadop-kernel-dev-5035cd5b666b7378e32e1985225aae5746a59ac9.zip
op-kernel-dev-5035cd5b666b7378e32e1985225aae5746a59ac9.tar.gz
ARC: pae: STRICT_MM_TYPECHECKS was broken
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/include/asm/page.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/include/asm/page.h b/arch/arc/include/asm/page.h
index 0d53854..296c342 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;
OpenPOWER on IntegriCloud