]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: perf: remove mysterious compiler barrier
authorWill Deacon <will.deacon@arm.com>
Sat, 28 Jul 2012 15:44:38 +0000 (16:44 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 13 Aug 2012 14:58:26 +0000 (15:58 +0100)
commit85ed81b3dac72b97331ee36402fee0318a93d4cb
tree11ecda4a78f82b8db2dab6ecf0f2caee13d9478b
parent2db4ddfe6e2344b31d58f597d74442c1b7c569ef
ARM: perf: remove mysterious compiler barrier

There's a rather strange compiler barrier in the PMU disabling code
which was presumably placed there by aliens. There's no valid reason for
the barrier and one can only suspect that it's up to no good.

This patch removes it before it has a chance to spread.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c