1
0
Fork 0

ARC: pae: STRICT_MM_TYPECHECKS was broken

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
hifive-unleashed-5.1
Vineet Gupta 2016-05-03 14:53:40 +05:30
parent 966657890e
commit 5035cd5b66
1 changed files with 4 additions and 0 deletions

View 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;