From: Benjamin Herrenschmidt Date: Thu, 27 Aug 2009 07:20:30 +0000 (+1000) Subject: lmb: Remove __init from lmb_end_of_DRAM() X-Git-Tag: v2.6.31-rc8~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8ee2c9cc0e885d2bb50ef26db66150ab25213e;p=pandora-kernel.git lmb: Remove __init from lmb_end_of_DRAM() We call lmb_end_of_DRAM() to test whether a DMA mask is ok on a machine without IOMMU, but this function is marked as __init. I don't think there's a clean way to get the top of RAM max_pfn doesn't appear to include highmem or I missed (or we have a bug :-) so for now, let's just avoid having a broken 2.6.31 by making this function non-__init and we can revisit later. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed