diff options
author | Roland Dreier <roland@topspin.com> | 2005-04-16 15:26:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:26:18 -0700 |
commit | 85665c9816a2b38866e03c019bf5c2e47eb9fb04 (patch) | |
tree | e9a2d836259c200967e4be4185fcc7cc9a3e80ed /fs/xfs/xfs_ialloc.h | |
parent | e464b2a6c2c297702205ab725fd82489550a7893 (diff) |
[PATCH] IB/mthca: allocate correct number of doorbell pages
Doorbell record pages are allocated in HCA page size chunks (always 4096
bytes), so we need to divide by 4096 and not PAGE_SIZE when figuring out how
many pages we'll need space for.
Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/xfs/xfs_ialloc.h')
0 files changed, 0 insertions, 0 deletions