aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/event_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oprofile/event_buffer.h')
-rw-r--r--drivers/oprofile/event_buffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/oprofile/event_buffer.h b/drivers/oprofile/event_buffer.h
index 84bf324c5771..4e70749f8d16 100644
--- a/drivers/oprofile/event_buffer.h
+++ b/drivers/oprofile/event_buffer.h
@@ -10,13 +10,13 @@
10#ifndef EVENT_BUFFER_H 10#ifndef EVENT_BUFFER_H
11#define EVENT_BUFFER_H 11#define EVENT_BUFFER_H
12 12
13#include <linux/types.h> 13#include <linux/types.h>
14#include <asm/mutex.h> 14#include <asm/mutex.h>
15 15
16int alloc_event_buffer(void); 16int alloc_event_buffer(void);
17 17
18void free_event_buffer(void); 18void free_event_buffer(void);
19 19
20/** 20/**
21 * Add data to the event buffer. 21 * Add data to the event buffer.
22 * The data passed is free-form, but typically consists of 22 * The data passed is free-form, but typically consists of
@@ -31,10 +31,10 @@ void wake_up_buffer_waiter(void);
31#define NO_COOKIE 0UL 31#define NO_COOKIE 0UL
32 32
33extern const struct file_operations event_buffer_fops; 33extern const struct file_operations event_buffer_fops;
34 34
35/* mutex between sync_cpu_buffers() and the 35/* mutex between sync_cpu_buffers() and the
36 * file reading code. 36 * file reading code.
37 */ 37 */
38extern struct mutex buffer_mutex; 38extern struct mutex buffer_mutex;
39 39
40#endif /* EVENT_BUFFER_H */ 40#endif /* EVENT_BUFFER_H */