aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2008-08-16 02:57:57 +0000
committerDavid S. Miller <[email protected]>2008-08-16 02:57:57 +0000
commitebb1951d3624c2f961abe676645c13e5a1145569 (patch)
tree5c63654338f2caf0b9dc41281b7b6a7b39ea5577 /lib/debugobjects.c
parentsparc64: Fix cmdline_memory_size handling bugs. (diff)
downloadkernel-ebb1951d3624c2f961abe676645c13e5a1145569.tar.gz
kernel-ebb1951d3624c2f961abe676645c13e5a1145569.zip
lmb: Fix reserved region handling in lmb_enforce_memory_limit().
The idea of the implementation of this fix is from Michael Ellerman. This function has two loops, but they each interpret the memory_limit value differently. The first loop interprets it as a "size limit" whereas the second loop interprets it as an "address limit". Before the second loop runs, reset memory_limit to lmb_end_of_DRAM() so that it all works out. Signed-off-by: David S. Miller <[email protected]> Acked-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions