Skip to content

Commit

Permalink
arch/sparc/include/asm/pgtable_64.h: fix build
Browse files Browse the repository at this point in the history
A last-minute fixlet which I'd failed to merge at the appropriate time
had the predictable effect.

Fixes: f672e2c ("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]>
  • Loading branch information
akpm00 authored and torvalds committed Sep 26, 2019
1 parent b4ed71f commit a22fea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/include/asm/pgtable_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a22fea9

Please sign in to comment.