ARC: pae: STRICT_MM_TYPECHECKS was broken
authorVineet Gupta <vgupta@synopsys.com>
Tue, 3 May 2016 09:23:40 +0000 (14:53 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 13 May 2016 03:46:09 +0000 (09:16 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/page.h

index 0d53854884d047557a981fece15936715a4cd950..296c3426a6ad3589df2926c50c26832960a48ab8 100644 (file)
@@ -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;