|
@@ -13,12 +13,13 @@
|
|
#include <linux/vmalloc.h>
|
|
#include <linux/vmalloc.h>
|
|
#include <linux/slab.h>
|
|
#include <linux/slab.h>
|
|
#include <linux/circ_buf.h>
|
|
#include <linux/circ_buf.h>
|
|
|
|
+#include <linux/poll.h>
|
|
|
|
|
|
#include "internal.h"
|
|
#include "internal.h"
|
|
|
|
|
|
static void perf_output_wakeup(struct perf_output_handle *handle)
|
|
static void perf_output_wakeup(struct perf_output_handle *handle)
|
|
{
|
|
{
|
|
- atomic_set(&handle->rb->poll, POLL_IN);
|
|
|
|
|
|
+ atomic_set(&handle->rb->poll, POLLIN);
|
|
|
|
|
|
handle->event->pending_wakeup = 1;
|
|
handle->event->pending_wakeup = 1;
|
|
irq_work_queue(&handle->event->pending);
|
|
irq_work_queue(&handle->event->pending);
|