diff options
Diffstat (limited to 'kernel/smp.c')
-rw-r--r-- | kernel/smp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/smp.c b/kernel/smp.c index 306f8180b0d5..a1812d184aed 100644 --- a/kernel/smp.c +++ b/kernel/smp.c | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * (C) Jens Axboe <jens.axboe@oracle.com> 2008 | 4 | * (C) Jens Axboe <jens.axboe@oracle.com> 2008 |
5 | */ | 5 | */ |
6 | #include <linux/irq_work.h> | ||
6 | #include <linux/rcupdate.h> | 7 | #include <linux/rcupdate.h> |
7 | #include <linux/rculist.h> | 8 | #include <linux/rculist.h> |
8 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
@@ -210,6 +211,14 @@ void generic_smp_call_function_single_interrupt(void) | |||
210 | csd->func(csd->info); | 211 | csd->func(csd->info); |
211 | csd_unlock(csd); | 212 | csd_unlock(csd); |
212 | } | 213 | } |
214 | |||
215 | /* | ||
216 | * Handle irq works queued remotely by irq_work_queue_on(). | ||
217 | * Smp functions above are typically synchronous so they | ||
218 | * better run first since some other CPUs may be busy waiting | ||
219 | * for them. | ||
220 | */ | ||
221 | irq_work_run(); | ||
213 | } | 222 | } |
214 | 223 | ||
215 | /* | 224 | /* |