projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[cascardo/linux.git]
/
kernel
/
irq_work.c
diff --git
a/kernel/irq_work.c
b/kernel/irq_work.c
index
55fcce6
..
a82170e
100644
(file)
--- a/
kernel/irq_work.c
+++ b/
kernel/irq_work.c
@@
-61,11
+61,11
@@
void __weak arch_irq_work_raise(void)
*
* Can be re-enqueued while the callback is still in progress.
*/
*
* Can be re-enqueued while the callback is still in progress.
*/
-
void
irq_work_queue(struct irq_work *work)
+
bool
irq_work_queue(struct irq_work *work)
{
/* Only queue if not already pending */
if (!irq_work_claim(work))
{
/* Only queue if not already pending */
if (!irq_work_claim(work))
- return;
+ return
false
;
/* Queue the entry and raise the IPI if needed. */
preempt_disable();
/* Queue the entry and raise the IPI if needed. */
preempt_disable();
@@
-83,6
+83,8
@@
void irq_work_queue(struct irq_work *work)
}
preempt_enable();
}
preempt_enable();
+
+ return true;
}
EXPORT_SYMBOL_GPL(irq_work_queue);
}
EXPORT_SYMBOL_GPL(irq_work_queue);