Explorar o código

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>
Anton Blanchard %!s(int64=14) %!d(string=hai) anos
pai
achega
b76a06e08d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      drivers/oprofile/event_buffer.h
  2. 1 1
      drivers/oprofile/oprof.c

+ 1 - 1
drivers/oprofile/event_buffer.h

@@ -11,7 +11,7 @@
 #define EVENT_BUFFER_H
 #define EVENT_BUFFER_H
 
 
 #include <linux/types.h>
 #include <linux/types.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
 
 
 int alloc_event_buffer(void);
 int alloc_event_buffer(void);
 
 

+ 1 - 1
drivers/oprofile/oprof.c

@@ -14,7 +14,7 @@
 #include <linux/moduleparam.h>
 #include <linux/moduleparam.h>
 #include <linux/workqueue.h>
 #include <linux/workqueue.h>
 #include <linux/time.h>
 #include <linux/time.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
 
 
 #include "oprof.h"
 #include "oprof.h"
 #include "event_buffer.h"
 #include "event_buffer.h"