提交 5035cd5b 编写于 作者: V Vineet Gupta

ARC: pae: STRICT_MM_TYPECHECKS was broken

Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册