[PATCH] smc91c92_cs: Reduce stack usage in smc91c92_event()
authorYum Rayan <yum.rayan@gmail.com>
Thu, 5 May 2005 22:14:10 +0000 (15:14 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 16 May 2005 03:16:30 +0000 (23:16 -0400)
commit4638aef40ba9ebb9734caeed1f373c24015259fd
tree12aaa5eeaabefd1b9f92f881c1f9aa5f9f41e7d7
parent54d06c3184f416b8244816f3c1d3abb55e99d909
[PATCH] smc91c92_cs: Reduce stack usage in smc91c92_event()

This patch reduces the stack usage of the function smc91c92_event() in
smc91c92_cs driver from 3540 to 132.  Currently this is the highest stack
user in linux-2.6.12-rc2-mm3.  I used a patched version of gcc 3.4.3 on
i386 with -fno-unit-at-a-time disabled.

The patch has only been compile tested.

Acked-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Acked-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Yum Rayan <yum.rayan@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/pcmcia/smc91c92_cs.c