[PATCH] serial_cs: Reduce stack usage in serial_event()
authorYum Rayan <yum.rayan@gmail.com>
Sun, 1 May 2005 15:59:14 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:14 +0000 (08:59 -0700)
commit16f31113a614a35acc2da64f4ae39ab0ed7e194f
tree65dd7e25ed720d8001e7571645a41817cb88c300
parentdbcf31ba68c92b23ac3f874c4d516bacd5d7518a
[PATCH] serial_cs: Reduce stack usage in serial_event()

This patch reduces the stack usage of the function serial_event() in
serial_cs from 2212 to 228.  I used a patched version of gcc 3.4.3 on i386
with -fno-unit-at-a-time disabled.

This patch is only compile tested.

Acked-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Yum Rayan <yum.rayan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/serial_cs.c