summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/flat.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-23 20:04:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-23 20:04:33 -0700
commit329f0a8a35a664fb33f58f10538f5440ee19c54e (patch)
tree270e7764e6fe54c982626bd2af294cedf4afbc5f /arch/h8300/include/asm/flat.h
parenta5fa2660d787d8416f426cd622778a5d8851ac36 (diff)
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
downloadlinux-329f0a8a35a664fb33f58f10538f5440ee19c54e.tar.gz
linux-329f0a8a35a664fb33f58f10538f5440ee19c54e.tar.bz2
linux-329f0a8a35a664fb33f58f10538f5440ee19c54e.zip
Merge 4.13-rc2 into tty-next
We want the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/h8300/include/asm/flat.h')
-rw-r--r--arch/h8300/include/asm/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/include/asm/flat.h b/arch/h8300/include/asm/flat.h
index 18d024251738..7e0bd6fa1532 100644
--- a/arch/h8300/include/asm/flat.h
+++ b/arch/h8300/include/asm/flat.h
@@ -24,7 +24,7 @@ static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
u32 *addr, u32 *persistent)
{
u32 val = get_unaligned((__force u32 *)rp);
- if (!(flags & FLAT_FLAG_GOTPIC)
+ if (!(flags & FLAT_FLAG_GOTPIC))
val &= 0x00ffffff;
*addr = val;
return 0;