ARM: perf: Check that current->mm is alive before getting user callchain
authorJean Pihet <jean.pihet@linaro.org>
Mon, 7 Jul 2014 13:45:08 +0000 (14:45 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 9 Jul 2014 14:05:24 +0000 (15:05 +0100)
commita7cc91001e36a4a4152c3ada6c8fe38adc5badbc
tree32d10331079614332cf6cc465cd36d6872d873d5
parent037e79aa958d325cfb3c733496af64199bba6b49
ARM: perf: Check that current->mm is alive before getting user callchain

An event may occur when an mm is already released.

As per commit 20afc60f892d285fde179ead4b24e6a7938c2f1b
 'x86, perf: Check that current->mm is alive before getting user callchain'

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c