Commit | Line | Data |
---|---|---|
24cedcfe MD |
1 | #ifndef _LTTNG_WRAPPER_POLL_H |
2 | #define _LTTNG_WRAPPER_POLL_H | |
3 | ||
17baffe2 | 4 | /* |
24cedcfe | 5 | * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) |
17baffe2 | 6 | * |
24cedcfe MD |
7 | * wrapper around poll __pollwait and poll_get_entry. Using KALLSYMS to get its |
8 | * address when available, else we need to have a kernel that exports this | |
9 | * function to GPL modules. | |
17baffe2 MD |
10 | * |
11 | * Dual LGPL v2.1/GPL v2 license. | |
12 | */ | |
13 | ||
f3bc08c5 MD |
14 | #include <linux/poll.h> |
15 | ||
24cedcfe MD |
16 | void wrapper_pollwait_exclusive(struct file *filp, |
17 | wait_queue_head_t *wait_address, | |
18 | poll_table *p); | |
f3bc08c5 | 19 | |
24cedcfe | 20 | #endif /* _LTTNG_WRAPPER_POLL_H */ |