]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitd52f2dc40b52201700001e868093c5ec827a8f33
tree9675b6c3b36449a5718fb9067391f5cd382ff935
parenta1797b2fd2051515689fd54a9db8fd20ebd5e5f7
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