git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53c57d
)
drivers/tty/serial/serial_core.c: clean up HIGH_BITS_OFFSET usage
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 26 Nov 2012 23:47:15 +0000
(15:47 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:18:04 +0000
(16:18 -0800)
serial_core.c usually does
if (HIGH_BITS_OFFSET)
expr-involving-HIGH_BITS_OFFSET()
at least to avoid generating useless code on 32-bit machines, where
HIGH_BITS_OFFSET is zero. Do that in uart_get_attr_port().
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found