]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Oct 2012 17:56:18 +0000 (10:56 -0700)
commitf386dbc80c65fe40a5a76806358a5e565086e23c
tree165dc4d810442d71b1dba660e21d9f9a89f94731
parent8f3d8be7a7259de7cff4ffa1eec1894ddc1a4397
sparc64: Like x86 we should check current->mm during perf backtrace generation.

[ Upstream commit 08280e6c4c2e8049ac61d9e8e3536ec1df629c0d ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/perf_event.c