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 <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andrew Morton 2019-09-26 07:28:17 -07:00 • committed by Linus Torvalds
commit a22fea9499

View file

@ -1099,7 +1099,7 @@ static inline unsigned long __untagged_addr(unsigned long start)
return start;
}
#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)
{