-
由 Sukadev Bhattiprolu 提交于
Commit 531d2410 ("perf tools: Do not include stringify.h from the kernel sources") seems to have accidentially removed the inclusion of "util/header.h" from "arch/powerpc/util/header.c". "util/header.h" provides the prototype for get_cpuid() and is needed to build perf on Powerpc: arch/powerpc/util/header.c:17:1: error: no previous prototype for 'get_cpuid' [-Werror=missing-prototypes] Reported-by: NMichael Ellerman <mpe@ellerman.id.au> Tested-by: NArnaldo Carvalho de Melo <acme@redhat.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 531d2410 ("perf tools: Do not include stringify.h from the kernel sources") Signed-off-by: NSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> [ Included "util.h" too, to get the scnprintf() prototype ] Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
379649cf