]> git.baikalelectronics.ru Git - kernel.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>
Thu, 23 Aug 2012 10:35:51 +0000 (11:35 +0100)
commit63ade7770a4e839c383d3b8a6116ced92a65550b
tree857224d88742c07594efbbdf2007b2a4910e5521
parent2ee1bd024f582ac89bdc6a40f87988be4bff0835
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