]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Like x86 we should check current->mm during perf backtrace generation.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Oct 2012 00:59:40 +0000 (17:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Oct 2012 00:59:40 +0000 (17:59 -0700)
commitbd1f8c7b296ef7e2c1fe89bde7e900fbc66684b1
tree0ca61313d9c74d66019a7a90306653464de091e2
parent0d577442d51c1c4ffe9f108f9f6058d85b2c42c9
sparc64: Like x86 we should check current->mm during perf backtrace generation.

If the MM is not active, only report the top-level PC.  Do not try to
access the address space.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/perf_event.c