summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-05-08 19:32:36 -0400
committerRobert Richter <robert.richter@amd.com>2011-05-24 12:45:59 +0200
commitb76a06e08d94b2a63e47837dfe46bbbf0a3af6c2 (patch)
treeaaee219bd932c807906d1159b3605f0b7efccc99 /drivers/oprofile
parentd819437156fd99da61d4e1402b2dbfc5cc472265 (diff)
downloadlinux-stable-b76a06e08d94b2a63e47837dfe46bbbf0a3af6c2.tar.gz
linux-stable-b76a06e08d94b2a63e47837dfe46bbbf0a3af6c2.tar.bz2
linux-stable-b76a06e08d94b2a63e47837dfe46bbbf0a3af6c2.zip
oprofile: Use linux/mutex.h
The oprofile code is still including asm/mutex.h instead of linux/mutex.h. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile')
-rw-r--r--drivers/oprofile/event_buffer.h2
-rw-r--r--drivers/oprofile/oprof.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oprofile/event_buffer.h b/drivers/oprofile/event_buffer.h
index 4e70749f8d16..a8d5bb3cba89 100644
--- a/drivers/oprofile/event_buffer.h
+++ b/drivers/oprofile/event_buffer.h
@@ -11,7 +11,7 @@
#define EVENT_BUFFER_H
#include <linux/types.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
int alloc_event_buffer(void);
diff --git a/drivers/oprofile/oprof.c b/drivers/oprofile/oprof.c
index f9bda64fcd1b..dccd8636095c 100644
--- a/drivers/oprofile/oprof.c
+++ b/drivers/oprofile/oprof.c
@@ -14,7 +14,7 @@
#include <linux/moduleparam.h>
#include <linux/workqueue.h>
#include <linux/time.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
#include "oprof.h"
#include "event_buffer.h"