Hey,

this bug was more or less already known, here a fix for it:

Index: powertop/perf/perf.cpp
===================================================================
--- powertop.orig/perf/perf.cpp	2011-03-17 15:10:23.496955539 +0100
+++ powertop/perf/perf.cpp	2011-03-17 15:10:43.861056526 +0100
@@ -41,6 +41,14 @@
 
 #include "perf_event.h"
 
+/* __NR_perf_event_open in ia64 and alpha is defined elsewhere */
+#ifdef __ia64__
+#include <asm-generic/unistd.h>
+#endif
+#ifdef __alpha__
+#include <asm-generic/unistd.h>
+#endif
+
 #include "perf.h"
 #include "../lib.h"
 #include "../display.h"

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to