From: Yinghai Lu Date: Wed, 28 Jul 2010 05:43:02 +0000 (+1000) Subject: memblock: Option for the architecture to put memblock into the .init section X-Git-Tag: v2.6.37-rc1~183^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d0643988e976360eb3497dcafb55b393b8e480;p=pandora-kernel.git memblock: Option for the architecture to put memblock into the .init section Arch code can define ARCH_DISCARD_MEMBLOCK in asm/memblock.h, which in turns causes memblock code and data to go respectively into the .init and .initdata sections. This will be used by the x86 architecture. If ARCH_DISCARD_MEMBLOCK is defined, the debugfs files to inspect the memblock arrays after boot are not created. Signed-off-by: Yinghai Lu Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed