https://github.com/torvalds/linux
Revision 3c08158e0ef5d6a2d4ae21d9eda218c468bc774f authored by David S. Miller on 19 March 2015, 02:15:28 UTC, committed by David S. Miller on 19 March 2015, 02:15:28 UTC
/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 <david.ahern@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 53eb251
History
Tip revision: 3c08158e0ef5d6a2d4ae21d9eda218c468bc774f authored by David S. Miller on 19 March 2015, 02:15:28 UTC
sparc: Fix /proc/kcore
Tip revision: 3c08158
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 297.9 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top