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 0d53854..296c342 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;