diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-27 22:01:28 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-28 12:43:20 -0400 |
commit | dc6a78f1af10d28fb8c395034ae1e099b85c05b0 (patch) | |
tree | 531357a95f9dfa3df48d87073d52e7a3d8e25668 /drivers/hwmon/fscpos.c | |
parent | 87cf89866790a373edcf88c12b64d6d38560acdd (diff) |
[SCSI] atp870u: reduce huge stack usage
The atp870u driver is the largest stack eater reported by checkstack
(on x86_864, allmodconfig). This converts the offending function
to kmalloc+kfree struct atp_unit instead of allocating it on the stack.
Was:
0x0000164c atp870u_probe [atp870u]: 3176
Now:
0x0000164c atp870u_probe [atp870u]: 408
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/hwmon/fscpos.c')
0 files changed, 0 insertions, 0 deletions