projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8135c8c
)
perf bench numa: Share sched_getcpu() __weak def with cloexec.c
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 18 May 2015 15:24:41 +0000
(12:24 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 18 May 2015 15:36:46 +0000
(12:36 -0300)
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]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/bench/numa.c
patch
|
blob
|
history
diff --git
a/tools/perf/bench/numa.c
b/tools/perf/bench/numa.c
index e2415f40343a4744d9a904ffeed2a6441969355d..870b7e665a203264c1b7b27684a860cbe147c450 100644
(file)
--- a/
tools/perf/bench/numa.c
+++ b/
tools/perf/bench/numa.c
@@
-8,6
+8,7
@@
#include "../builtin.h"
#include "../util/util.h"
#include "../util/parse-options.h"
+#include "../util/cloexec.h"
#include "bench.h"