commit | 3c08158e0ef5d6a2d4ae21d9eda218c468bc774f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Mar 18 19:15:28 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 18 19:15:28 2015 -0700 |
tree | 624811cf9c565d1bc71f2debbac02b8fa1c00eb5 | |
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 <david.ahern@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>