| 1 | #ifndef _LTTNG_WRAPPER_POLL_H |
| 2 | #define _LTTNG_WRAPPER_POLL_H |
| 3 | |
| 4 | /* |
| 5 | * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) |
| 6 | * |
| 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. |
| 10 | * |
| 11 | * Dual LGPL v2.1/GPL v2 license. |
| 12 | */ |
| 13 | |
| 14 | #include <linux/poll.h> |
| 15 | |
| 16 | void wrapper_pollwait_exclusive(struct file *filp, |
| 17 | wait_queue_head_t *wait_address, |
| 18 | poll_table *p); |
| 19 | |
| 20 | #endif /* _LTTNG_WRAPPER_POLL_H */ |