diff --git a/arch/arc/include/asm/page.h b/arch/arc/include/asm/page.h index 0d53854884d047557a981fece15936715a4cd950..296c3426a6ad3589df2926c50c26832960a48ab8 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;