commit | 85665c9816a2b38866e03c019bf5c2e47eb9fb04 | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@topspin.com> | Sat Apr 16 15:26:18 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sat Apr 16 15:26:18 2005 -0700 |
tree | e9a2d836259c200967e4be4185fcc7cc9a3e80ed | |
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>