From: David S. Miller Date: Thu, 19 Mar 2015 02:15:28 +0000 (-0700) Subject: sparc: Fix /proc/kcore X-Git-Tag: omap-for-v4.1/fixes-rc1~305^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c08158e0ef5d6a2d4ae21d9eda218c468bc774f;p=pandora-kernel.git sparc: Fix /proc/kcore /proc/kcore investigates the "System RAM" elements in /proc/iomem to initialize it's memory tables. Therefore we have to register them before it tries to do so. kcore uses device_initcall() so let's use arch_initcall() for the registry. Also we need ARCH_PROC_KCORE_TEXT to get the virtual addresses of the kernel image correct. Reported-by: David Ahern Signed-off-by: David S. Miller --- Reading git-diff-tree failed