diff mbox

[v2] perf: Handle compat ioctl

Message ID 1408019158.21373.8.camel@hornet
State New
Headers show

Commit Message

Pawel Moll Aug. 14, 2014, 12:25 p.m. UTC
On Thu, 2014-08-14 at 11:51 +0100, Peter Zijlstra wrote:
> On Thu, Aug 14, 2014 at 11:17:48AM +0100, Pawel Moll wrote:
> > Has it managed to hold on to the ground between the cracks then? ;-)
> > 
> > (asking because can't see it in your perf/core branch on git.kernel.org)
> 
> Damn this patch is cursed;

So it seems :-)

>  I've no idea where it went. Lemme stick it in
> perf/urgent, this is ridiculous.

... but it was supposed to be v2, not v1 ;-) as v1 was missing an
include...

8<------------------------------------------------
From 0ce6aa357790a3423751954d7f094cc53871cc72 Mon Sep 17 00:00:00 2001
From: Pawel Moll <pawel.moll@arm.com>
Date: Thu, 14 Aug 2014 13:25:07 +0100
Subject: [PATCH] perf: Add missing compat header

Patch 783c1428fa91798090a0ace57f35e9a72646088f "perf:
Handle compat ioctl" is using a type defined in compat.h
header, but wasn't including it. Fixed now.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 kernel/events/core.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/kernel/events/core.c b/kernel/events/core.c
index 2c5cbda..cc7065c 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -41,6 +41,7 @@ 
 #include <linux/cgroup.h>
 #include <linux/module.h>
 #include <linux/mman.h>
+#include <linux/compat.h>
 
 #include "internal.h"