summaryrefslogtreecommitdiffstats
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-09-12 13:12:28 +0200
committerIngo Molnar <mingo@elte.hu>2011-10-04 12:43:53 +0200
commit924f8f5af31423529cc3940cb2ae9fee736b7517 (patch)
tree5d6866171b3fc428ebb64720917517534aa80670 /kernel/irq_work.c
parentirq_work: Use llist in the struct irq_work logic (diff)
downloadlinux-924f8f5af31423529cc3940cb2ae9fee736b7517.tar.xz
linux-924f8f5af31423529cc3940cb2ae9fee736b7517.zip
llist: Add llist_next()
So we don't have to expose the struct list_node member. Cc: Huang Ying <ying.huang@intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1315836348.26517.41.camel@twins Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq_work.c')
-rw-r--r--kernel/irq_work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq_work.c b/kernel/irq_work.c
index 6f0a4310defd..0e2cde4f380b 100644
--- a/kernel/irq_work.c
+++ b/kernel/irq_work.c
@@ -110,7 +110,7 @@ void irq_work_run(void)
while (llnode != NULL) {
work = llist_entry(llnode, struct irq_work, llnode);
- llnode = llnode->next;
+ llnode = llist_next(llnode);
/*
* Clear the PENDING bit, after this point the @work