coresight: etm4x: unlocking tracers in default arch init
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 5 Apr 2016 17:53:46 +0000 (11:53 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:43:29 +0000 (15:43 -0600)
commit17b04a9f5548d04c62d7ffe3094e8d90d4cc9b9d
tree3862509ce43842e6908198adc79f7ea2c9911452
parent687e02507830c20c5df9db16e1211194e0b0406d
coresight: etm4x: unlocking tracers in default arch init

As with the ETMv3.x driver, calling 'smp_call_function_single()'
twice in a row is highly ineffective.  As such moving function
'etm4_os_unlock()' before the default initialisation takes
place, which results in the same outcome.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 66bbbb77540e846b9aac4c9467aca936128951bf)
drivers/hwtracing/coresight/coresight-etm4x.c