Skip to content

Commit

Permalink
oprofile: Use linux/mutex.h
Browse files Browse the repository at this point in the history
The oprofile code is still including asm/mutex.h instead of
linux/mutex.h.

Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
  • Loading branch information
antonblanchard authored and Robert Richter committed May 24, 2011
1 parent d819437 commit b76a06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/oprofile/event_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/oprofile/oprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b76a06e

Please sign in to comment.