perf bench numa: Share sched_getcpu() __weak def with cloexec.c
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 2d8e405acd787f4b975f73e0f8d9804b272c00f0 Gitweb: http://git.kernel.org/tip/2d8e405acd787f4b975f73e0f8d9804b272c00f0 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 18 May 2015 12:24:41 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 18 May 2015 12:36:46 -0300
perf bench numa: Share sched_getcpu() __weak def with cloexec.c
We really should move the sched_getcpu() to some more suitable place, but this one-liner fixes this build problem on ancient distros like RHEL5.
Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Vinson Lee <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/bench/numa.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/bench/numa.c +1 -0
@@ -8,6 +8,7 @@#include "../builtin.h" #include "../util/util.h" #include "../util/parse-options.h" +#include "../util/cloexec.h" #include "bench.h"