summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/uaccess.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-08-22 15:37:31 -0700
committerKevin Hilman <khilman@baylibre.com>2017-08-22 15:37:31 -0700
commit4db26f83a7a1f8b844e4543cd82a87bee1d224e2 (patch)
tree260f68e5671b902344f8b568a45bd6df645b5bcb /arch/arm64/include/asm/uaccess.h
parentb16c71c9f6ff50d4e4398cefd9113d82ee2fe8e6 (diff)
parentaae4e7a8bc44722fe70d58920a36916b1043195e (diff)
downloadblackbird-op-linux-4db26f83a7a1f8b844e4543cd82a87bee1d224e2.tar.gz
blackbird-op-linux-4db26f83a7a1f8b844e4543cd82a87bee1d224e2.zip
Merge tag 'v4.13-rc4' into v4.14/dt64
Linux 4.13-rc4
Diffstat (limited to 'arch/arm64/include/asm/uaccess.h')
-rw-r--r--arch/arm64/include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/uaccess.h b/arch/arm64/include/asm/uaccess.h
index 8f0a1de11e4a..fab46a0ea223 100644
--- a/arch/arm64/include/asm/uaccess.h
+++ b/arch/arm64/include/asm/uaccess.h
@@ -69,7 +69,7 @@ static inline void set_fs(mm_segment_t fs)
*/
#define __range_ok(addr, size) \
({ \
- unsigned long __addr = (unsigned long __force)(addr); \
+ unsigned long __addr = (unsigned long)(addr); \
unsigned long flag, roksum; \
__chk_user_ptr(addr); \
asm("adds %1, %1, %3; ccmp %1, %4, #2, cc; cset %0, ls" \
OpenPOWER on IntegriCloud