diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-10-16 18:42:13 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 13:19:52 -0500 |
commit | ff3849059d787ab2072032800e553c9022c9ab54 (patch) | |
tree | 6efc673f80ced234746259ef52d1beacb562593c /arch/xtensa/mm/misc.S | |
parent | c4ee0af3fa0dc65f690fc908f02b8355f9576ea0 (diff) |
xtensa: fix build warning in 64-bit build environment
This fixes the following build warnings:
arch/xtensa/mm/misc.S: Assembler messages:
arch/xtensa/mm/misc.S:143: Warning: value 0xffffffff30000106 truncated to 0x30000106
arch/xtensa/mm/misc.S:197: Warning: value 0xffffffff30000106 truncated to 0x30000106
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/mm/misc.S')
-rw-r--r-- | arch/xtensa/mm/misc.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/mm/misc.S b/arch/xtensa/mm/misc.S index d97ed1ba7b0a..1f68558dbcc2 100644 --- a/arch/xtensa/mm/misc.S +++ b/arch/xtensa/mm/misc.S | |||
@@ -140,7 +140,7 @@ ENTRY(clear_user_page) | |||
140 | 140 | ||
141 | /* Setup a temporary DTLB with the color of the VPN */ | 141 | /* Setup a temporary DTLB with the color of the VPN */ |
142 | 142 | ||
143 | movi a4, -PAGE_OFFSET + (PAGE_KERNEL | _PAGE_HW_WRITE) | 143 | movi a4, ((PAGE_KERNEL | _PAGE_HW_WRITE) - PAGE_OFFSET) & 0xffffffff |
144 | movi a5, TLBTEMP_BASE_1 # virt | 144 | movi a5, TLBTEMP_BASE_1 # virt |
145 | add a6, a2, a4 # ppn | 145 | add a6, a2, a4 # ppn |
146 | add a2, a5, a3 # add 'color' | 146 | add a2, a5, a3 # add 'color' |
@@ -194,7 +194,7 @@ ENTRY(copy_user_page) | |||
194 | or a9, a9, a8 | 194 | or a9, a9, a8 |
195 | slli a4, a4, PAGE_SHIFT | 195 | slli a4, a4, PAGE_SHIFT |
196 | s32i a9, a5, PAGE_FLAGS | 196 | s32i a9, a5, PAGE_FLAGS |
197 | movi a5, -PAGE_OFFSET + (PAGE_KERNEL | _PAGE_HW_WRITE) | 197 | movi a5, ((PAGE_KERNEL | _PAGE_HW_WRITE) - PAGE_OFFSET) & 0xffffffff |
198 | 198 | ||
199 | beqz a6, 1f | 199 | beqz a6, 1f |
200 | 200 | ||