Skip to content

Commit b76a06e

Browse files
antonblanchardRobert Richter
authored andcommitted
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>
1 parent d819437 commit b76a06e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/oprofile/event_buffer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define EVENT_BUFFER_H
1212

1313
#include <linux/types.h>
14-
#include <asm/mutex.h>
14+
#include <linux/mutex.h>
1515

1616
int alloc_event_buffer(void);
1717

‎drivers/oprofile/oprof.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <linux/moduleparam.h>
1515
#include <linux/workqueue.h>
1616
#include <linux/time.h>
17-
#include <asm/mutex.h>
17+
#include <linux/mutex.h>
1818

1919
#include "oprof.h"
2020
#include "event_buffer.h"

0 commit comments

Comments
 (0)