xtensa: minor compiler warning fix
Fix two compiler warnings complaining about truncating a value on a 64-bit host, and about declaring an unused variable that is only used for a specific configuration. Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
@@ -1542,7 +1542,7 @@ ENTRY(fast_second_level_miss)
|
||||
* pteval = ((pmdval - PAGE_OFFSET) & PAGE_MASK) | PAGE_DIRECTORY
|
||||
*/
|
||||
|
||||
movi a1, -PAGE_OFFSET
|
||||
movi a1, (-PAGE_OFFSET) & 0xffffffff
|
||||
add a0, a0, a1 # pmdval - PAGE_OFFSET
|
||||
extui a1, a0, 0, PAGE_SHIFT # ... & PAGE_MASK
|
||||
xor a0, a0, a1
|
||||
|
Referens i nytt ärende
Block a user