aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-at91/at91_pmc.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-13 14:15:28 -0600
committerJens Axboe <jens.axboe@oracle.com>2008-01-28 10:54:49 +0100
commit7cedb1f17fb7f4374d11501f61656ae9d3ba47e9 (patch)
treed6257751445618b827c3e41e5b8fde2704c9d716 /include/asm-arm/arch-at91/at91_pmc.h
parentSG: Convert SCSI to use scatterlist helpers for sg chaining (diff)
downloadlinux-dev-7cedb1f17fb7f4374d11501f61656ae9d3ba47e9.tar.xz
linux-dev-7cedb1f17fb7f4374d11501f61656ae9d3ba47e9.zip
SG: work with the SCSI fixed maximum allocations.
SCSI sg table allocation has a maximum size (of SCSI_MAX_SG_SEGMENTS, currently 128) and this will cause a BUG_ON() in SCSI if something tries an allocation over it. This patch adds a size limit to the chaining allocator to allow the specification of the maximum allocation size for chaining, so we always chain in units of the maximum SCSI allocation size. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/asm-arm/arch-at91/at91_pmc.h')
0 files changed, 0 insertions, 0 deletions