perf_event: Fix invalid type in ioctl definition
authorArjan van de Ven <arjan@infradead.org>
Sat, 14 Nov 2009 05:47:33 +0000 (21:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 14 Nov 2009 09:23:52 +0000 (10:23 +0100)
u64 is invalid in userspace headers, including ioctl
definitions; use __u64 instead

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: <stable@kernel.org>
LKML-Reference: <20091113214733.7cd76be9@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h

index 45b56faf5cdc439f883e03eb39bc4abaf4852aae..ec3768a810584f28c1706f5968558461e4a8f9b6 100644 (file)
@@ -219,7 +219,7 @@ struct perf_event_attr {
 #define PERF_EVENT_IOC_DISABLE         _IO ('$', 1)
 #define PERF_EVENT_IOC_REFRESH         _IO ('$', 2)
 #define PERF_EVENT_IOC_RESET           _IO ('$', 3)
-#define PERF_EVENT_IOC_PERIOD          _IOW('$', 4, u64)
+#define PERF_EVENT_IOC_PERIOD          _IOW('$', 4, __u64)
 #define PERF_EVENT_IOC_SET_OUTPUT      _IO ('$', 5)
 #define PERF_EVENT_IOC_SET_FILTER      _IOW('$', 6, char *)