aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vserver/CVE-2013-2094.patch
blob: 18d8490b678ac6c1c8a135c9c6d9ecb26ec9e48b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./kernel/perf_event.c.orig
+++ ./kernel/perf_event.c
@@ -4866,7 +4866,7 @@
 
 static int perf_swevent_init(struct perf_event *event)
 {
-	int event_id = event->attr.config;
+	u64 event_id = event->attr.config;
 
 	if (event->attr.type != PERF_TYPE_SOFTWARE)
 		return -ENOENT;