diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-10-10 10:50:38 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-07 16:26:21 +1100 |
commit | 8c1674de2b42d9d9f14a32445055aa525892c708 (patch) | |
tree | c4d5209abc4d783cb0b4f20b1a17f6cca8f85f87 /net/sctp/protocol.c | |
parent | 97632e6fbea5b996669ffee21d869ed09848e1ec (diff) |
powerpc: Fix booke hugetlb preload code for PPC_MM_SLICES and 64-bit
This patch does 2 things: It corrects the code that determines the
size to write into MAS1 for the PPC_MM_SLICES case (this originally
came from David Gibson and I had incorrectly altered it), and it
changes the methodolody used to calculate the size for !PPC_MM_SLICES
to work for 64-bit as well as 32-bit.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions