]> Git Repo - linux.git/commit - lib/lmb.c
lmb: Remove __init from lmb_end_of_DRAM()
authorBenjamin Herrenschmidt <[email protected]>
Thu, 27 Aug 2009 07:20:30 +0000 (17:20 +1000)
committerLinus Torvalds <[email protected]>
Thu, 27 Aug 2009 19:25:26 +0000 (12:25 -0700)
commit4f8ee2c9cc0e885d2bb50ef26db66150ab25213e
treee60a5f629efa6637a626374f8232abc0c645e332
parentcf481442f2e086316ed8a1b3046f00ad23632ac4
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/lmb.c
This page took 0.064003 seconds and 4 git commands to generate.