diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-09-12 07:12:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-10-04 06:43:53 -0400 |
commit | 924f8f5af31423529cc3940cb2ae9fee736b7517 (patch) | |
tree | 5d6866171b3fc428ebb64720917517534aa80670 /kernel | |
parent | 38aaf8090d34b623b7919d8c933f6e938c9bf44b (diff) |
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')
-rw-r--r-- | kernel/irq_work.c | 2 |
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) | |||
110 | while (llnode != NULL) { | 110 | while (llnode != NULL) { |
111 | work = llist_entry(llnode, struct irq_work, llnode); | 111 | work = llist_entry(llnode, struct irq_work, llnode); |
112 | 112 | ||
113 | llnode = llnode->next; | 113 | llnode = llist_next(llnode); |
114 | 114 | ||
115 | /* | 115 | /* |
116 | * Clear the PENDING bit, after this point the @work | 116 | * Clear the PENDING bit, after this point the @work |