Re: lmb: Remove __init from lmb_end_of_DRAM()

2009-08-28 Thread Benjamin Herrenschmidt
...@kernel.crashing.org AuthorDate: Thu Aug 27 17:20:30 2009 +1000 Committer: Linus Torvalds torva...@linux-foundation.org CommitDate: Thu Aug 27 12:25:26 2009 -0700 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

[PATCH] lmb: Remove __init from lmb_end_of_DRAM()

2009-08-27 Thread Benjamin Herrenschmidt
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