oprofile: Use linux/mutex.h
authorAnton Blanchard <anton@samba.org>
Sun, 8 May 2011 23:32:36 +0000 (19:32 -0400)
committerRobert Richter <robert.richter@amd.com>
Tue, 24 May 2011 10:45:59 +0000 (12:45 +0200)
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>
drivers/oprofile/event_buffer.h
drivers/oprofile/oprof.c

index 4e70749f8d16e122a0fab36fa065889e018ef954..a8d5bb3cba89a9f7b3e770b2b6af2765764648b8 100644 (file)
@@ -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);
 
index f9bda64fcd1b62771880d5d823b53f797cb9c7f0..dccd8636095cb361e2e0e1e2bb8fb7fdd57ecee2 100644 (file)
@@ -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"