提交 a22fea94 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

arch/sparc/include/asm/pgtable_64.h: fix build

A last-minute fixlet which I'd failed to merge at the appropriate time
had the predictable effect.

Fixes: f672e2c217e2d4b2 ("lib: untag user pointers in strn*_user")
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b4ed71f5
...@@ -1099,7 +1099,7 @@ static inline unsigned long __untagged_addr(unsigned long start) ...@@ -1099,7 +1099,7 @@ static inline unsigned long __untagged_addr(unsigned long start)
return start; return start;
} }
#define untagged_addr(addr) \ #define untagged_addr(addr) \
((__typeof__(addr))(__untagged_addr((unsigned long)(addr))) ((__typeof__(addr))(__untagged_addr((unsigned long)(addr))))
static inline bool pte_access_permitted(pte_t pte, bool write) static inline bool pte_access_permitted(pte_t pte, bool write)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册