|
@@ -1114,11 +1114,6 @@ static ssize_t userfaultfd_read(struct file *file, char __user *buf,
|
|
static void __wake_userfault(struct userfaultfd_ctx *ctx,
|
|
static void __wake_userfault(struct userfaultfd_ctx *ctx,
|
|
struct userfaultfd_wake_range *range)
|
|
struct userfaultfd_wake_range *range)
|
|
{
|
|
{
|
|
- unsigned long start, end;
|
|
|
|
-
|
|
|
|
- start = range->start;
|
|
|
|
- end = range->start + range->len;
|
|
|
|
-
|
|
|
|
spin_lock(&ctx->fault_pending_wqh.lock);
|
|
spin_lock(&ctx->fault_pending_wqh.lock);
|
|
/* wake all in the range and autoremove */
|
|
/* wake all in the range and autoremove */
|
|
if (waitqueue_active(&ctx->fault_pending_wqh))
|
|
if (waitqueue_active(&ctx->fault_pending_wqh))
|