projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: x86/mmu: pull CPU mode computation to kvm_init_mmu
[linux-2.6-microblaze.git]
/
kernel
/
task_work.c
diff --git
a/kernel/task_work.c
b/kernel/task_work.c
index
1698fbe
..
c59e1a4
100644
(file)
--- a/
kernel/task_work.c
+++ b/
kernel/task_work.c
@@
-1,7
+1,7
@@
// SPDX-License-Identifier: GPL-2.0
#include <linux/spinlock.h>
#include <linux/task_work.h>
// SPDX-License-Identifier: GPL-2.0
#include <linux/spinlock.h>
#include <linux/task_work.h>
-#include <linux/
tracehook
.h>
+#include <linux/
resume_user_mode
.h>
static struct callback_head work_exited; /* all we need is ->next == NULL */
static struct callback_head work_exited; /* all we need is ->next == NULL */
@@
-78,7
+78,7
@@
task_work_cancel_match(struct task_struct *task,
struct callback_head *work;
unsigned long flags;
struct callback_head *work;
unsigned long flags;
- if (likely(!task
->task_works
))
+ if (likely(!task
_work_pending(task)
))
return NULL;
/*
* If cmpxchg() fails we continue without updating pprev.
return NULL;
/*
* If cmpxchg() fails we continue without updating pprev.