mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
Commit531d241063("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: Michael Ellerman <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Stephen Rothwell <[email protected]> Fixes:531d241063("perf tools: Do not include stringify.h from the kernel sources") Signed-off-by: Sukadev Bhattiprolu <[email protected]> [ Included "util.h" too, to get the scnprintf() prototype ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>