diff options
author | Anton Blanchard <anton@samba.org> | 2011-05-08 19:32:36 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2011-05-24 12:45:59 +0200 |
commit | b76a06e08d94b2a63e47837dfe46bbbf0a3af6c2 (patch) | |
tree | aaee219bd932c807906d1159b3605f0b7efccc99 | |
parent | d819437156fd99da61d4e1402b2dbfc5cc472265 (diff) |
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>
-rw-r--r-- | drivers/oprofile/event_buffer.h | 2 | ||||
-rw-r--r-- | drivers/oprofile/oprof.c | 2 |
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" |