Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116945
b: refs/heads/master
c: fe55249
h: refs/heads/master
i:
  116943: 9aa2475
v: v3
  • Loading branch information
Milton Miller authored and Benjamin Herrenschmidt committed Oct 21, 2008
1 parent d60ff8c commit 8600e17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a75a6b8e85e92cc774d42a4e113c76c30b5a539
refs/heads/master: fe55249d17f7979cf9bbc58e38e9ceaf1918b415
6 changes: 2 additions & 4 deletions trunk/arch/powerpc/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,10 @@ static unsigned long __init numa_enforce_memory_limit(unsigned long start,
/*
* We use lmb_end_of_DRAM() in here instead of memory_limit because
* we've already adjusted it for the limit and it takes care of
* having memory holes below the limit.
* having memory holes below the limit. Also, in the case of
* iommu_is_off, memory_limit is not set but is implicitly enforced.
*/

if (! memory_limit)
return size;

if (start + size <= lmb_end_of_DRAM())
return size;

Expand Down

0 comments on commit 8600e17

Please sign in to comment.