From: Michael Ellerman Date: Sat, 13 Jul 2013 02:53:40 +0000 (+1000) Subject: powerpc/perf: Set PPC_FEATURE2_EBB when we register the power8 PMU X-Git-Tag: v3.11-rc3~18^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7ead0039b0c9500825b46997896352810efb0b;p=pandora-kernel.git powerpc/perf: Set PPC_FEATURE2_EBB when we register the power8 PMU The presence or absence of EBB is advertised to userspace via the presence or absence of PPC_FEATURE2_EBB in cpu_user_features2. Because the kernel can be built without PMU support, we should only add PPC_FEATURE2_EBB to cpu_user_features2 when we successfully register the power8 PMU support. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed