aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-07-04 14:14:07 +1000
committerPaul Mackerras <paulus@samba.org>2006-07-26 01:27:27 +1000
commit45507ff3a2c58bc4781688eac1a80979ea972dce (patch)
treeb4e6db21249a59bf03d7e63d1539166421040a75 /drivers/video
parent171505dafef56e4c84c48399b36604f4be55cf36 (diff)
downloadkernel_samsung_tuna-45507ff3a2c58bc4781688eac1a80979ea972dce.zip
kernel_samsung_tuna-45507ff3a2c58bc4781688eac1a80979ea972dce.tar.gz
kernel_samsung_tuna-45507ff3a2c58bc4781688eac1a80979ea972dce.tar.bz2
[POWERPC] Fix legacy_serial.c error handling on 32 bits
The code in legacy_serial.c wouldn't properly compare OF translation results against OF_BAD_ADDR as it's using a phys_addr_t which is 32 bits on some 32-bit powerpc platforms. This fixes it by always using a u64 which is what is returned by the OF parsing routines. It also makes translation failure harmless for ISA serial ports. If they can't translate, we can't use the UART early, but we can still let the 8250 driver use it later on by using IO port accessors. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions