Browse Source

ARC: pae: STRICT_MM_TYPECHECKS was broken

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 9 years ago
parent
commit
5035cd5b66
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/arc/include/asm/page.h

+ 4 - 0
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;