aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/rd.c
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2005-04-16 15:26:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:26:18 -0700
commit85665c9816a2b38866e03c019bf5c2e47eb9fb04 (patch)
treee9a2d836259c200967e4be4185fcc7cc9a3e80ed /drivers/block/rd.c
parente464b2a6c2c297702205ab725fd82489550a7893 (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 'drivers/block/rd.c')
0 files changed, 0 insertions, 0 deletions