]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Move BHRB code into CONFIG_PPC64 region
authorMichael Neuling <mikey@neuling.org>
Mon, 13 May 2013 18:44:56 +0000 (18:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 06:00:21 +0000 (16:00 +1000)
commit22bd1dd6cd6b2f6c22e08180426a09e246fa4a9e
tree9675b6c3b36449a5718fb9067391f5cd382ff935
parenta8ff407d95d95bce3ffa060e17872f994a6b270b
powerpc/perf: Move BHRB code into CONFIG_PPC64 region

The new Branch History Rolling buffer (BHRB) code is only useful on 64bit
processors, so move it into the #ifdef CONFIG_PPC64 region.

This avoids code bloat on 32bit systems.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/core-book3s.c