]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Altix serial: fix
authorroel kluin <roel.kluin@gmail.com>
Sun, 19 Oct 2008 03:27:46 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:36 +0000 (08:52 -0700)
commit1f3ccaed13944b9cfa9af7f6c70bfb292e42a347
treeeaf969a11107b7850bce18398342ae06e18db2d0
parent9f561dfceaafaae73ecfc81b1156dde3056e1ec9
Altix serial: fix

In function sn_sal_switch_to_asynch(): drivers/serial/sn_console.c:713:

HZ * SN_SAL_UART_FIFO_DEPTH / SN_SAL_UART_FIFO_SPEED_CPS;

After preprocessing (see defines in patch) this becomes HZ * 16 / 9600 / 10
(associativity from left to right), not equivalent to HZ * 16 / 960.

Looks-obviously-right-to: Tony Luck <tony.luck@intel.com>
Cc: Jes Sorensen <jes@sgi.com>
Acked-by: Pat Gefre <pfg@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/sn_console.c