diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2007-03-15 14:44:46 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-04-18 20:20:54 -0700 |
commit | 165c552c35052284e8ec4f7e9c027dfd33490e2c (patch) | |
tree | 7b35088520eebb8ae5ac22654d41247f36ddec5b /drivers/macintosh/apm_emu.c | |
parent | 946db67fbf836af30835d610b914cdde0cf467f8 (diff) |
IB/ipath: Fix user memory region creation when IOMMU present
The loop which initializes the user memory region from an array of
pages was using the wrong limit for the array. This worked OK when
dma_map_sg() returned the same number as the number of pages. This
patch fixes the problem.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/macintosh/apm_emu.c')
0 files changed, 0 insertions, 0 deletions