diff options
author | David S. Miller <[email protected]> | 2015-03-18 19:15:28 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-03-18 19:15:28 -0700 |
commit | 3c08158e0ef5d6a2d4ae21d9eda218c468bc774f (patch) | |
tree | 624811cf9c565d1bc71f2debbac02b8fa1c00eb5 /lib/memory-notifier-error-inject.c | |
parent | 53eb2516972b8c4628651dfcb926cb9ef8b2864a (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions