diff mbox

[2/3] powertop: perf-event: Add defination of __NR_perf_event_open for arm platforms

Message ID 1310711748-23531-3-git-send-email-amit.kachhap@linaro.org
State New
Headers show

Commit Message

Amit Daniel Kachhap July 15, 2011, 6:35 a.m. UTC
This patch adds defination for __NR_perf_event_open if not present
for arm platforms.

Signed-off-by:  Amit Daniel Kachhap <amit.kachhap@linaro.org>
---
 perf/perf_event.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/perf/perf_event.h b/perf/perf_event.h
index 563ffc7..eac4a73 100644
--- a/perf/perf_event.h
+++ b/perf/perf_event.h
@@ -51,6 +51,9 @@ 
 #if __x86_64__
 #define __NR_perf_event_open	298
 #endif
+#if __arm__
+#define __NR_perf_event_open	364
+#endif
 #endif