From: Milton Miller Date: Mon, 20 Oct 2008 15:37:04 +0000 (+0000) Subject: powerpc: Always trim numa memory to lmb_end_of_DRAM() X-Git-Tag: v2.6.28-rc1~58^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe55249d17f7979cf9bbc58e38e9ceaf1918b415;p=pandora-kernel.git powerpc: Always trim numa memory to lmb_end_of_DRAM() numa_enforce_memory_limit tried to be smart and only call lmb_end_of_DRAM when a memory limit was set via mem= on the command line. However, the early boot code will also limit memory added to the lmb system when iommu=off is specified. When this happens, the page allocator is given pages not in the linear mapping and this results in a fatal data reference to the unmapped page. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed