pktcdvd: reduce stack consumption
authorPeter Osterlund <petero2@telia.com>
Tue, 4 Mar 2008 22:28:41 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:12 +0000 (16:35 -0800)
commit05680d86d21bdbe56db80c66c24c686590815f1f
tree79b8e9b0eef38b93b68b57d54dc9fb44a36cebd6
parent735c4fb916e9f83a9350aeb2680d77d01ea75094
pktcdvd: reduce stack consumption

On my system, pkt_open() consumes 584 bytes because the compiler decides to
inline lots of functions that would not normally be part of long call chains.
The following patch fixes that problem on my system.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Cc: Nix <nix@esperi.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c