usermem: Fix accidentally 16bitisms
authorAlan Cox <alan@linux.intel.com>
Wed, 13 Mar 2019 20:48:55 +0000 (20:48 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 13 Mar 2019 20:48:55 +0000 (20:48 +0000)
commitf779ae2a566a0b67497623c54d7275b05177b104
tree32c38c7b978ce1d3fb62716812f7377fa70c47f4
parent936bbfea8ed3de2cbb063168732fa8e7f39dd1c5
usermem: Fix accidentally 16bitisms

In some 32bit cases we use the generic valaddr(). Thus we shouldn't cast things
to 16bit or hardcode 0xFFFF. Fix these.
Kernel/cpu-6502/cpu.h
Kernel/cpu-65c816/cpu.h
Kernel/cpu-68000/cpu.h
Kernel/cpu-6809/cpu.h
Kernel/cpu-68hc11/cpu.h
Kernel/cpu-8080/cpu.h
Kernel/cpu-msp430x/cpu.h
Kernel/cpu-pdp11/cpu.h
Kernel/cpu-r2k/cpu.h
Kernel/cpu-z80/cpu.h
Kernel/usermem.c