Commit 5035cd5b authored by Vineet Gupta's avatar Vineet Gupta

ARC: pae: STRICT_MM_TYPECHECKS was broken

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 96665789
...@@ -31,7 +31,11 @@ void clear_user_page(void *to, unsigned long u_vaddr, struct page *page); ...@@ -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.. * These are used to make use of C type-checking..
*/ */
typedef struct { typedef struct {
#ifdef CONFIG_ARC_HAS_PAE40
unsigned long long pte;
#else
unsigned long pte; unsigned long pte;
#endif
} pte_t; } pte_t;
typedef struct { typedef struct {
unsigned long pgd; unsigned long pgd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment