softirq: Add support for triggering softirq work on softirqs.

This is basically a genericization of Jens Axboe's block layer
remote softirq changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
David S. Miller
2008-09-23 22:15:57 -07:00
committed by Jens Axboe
parent 2e532d68a2
commit 54514a70ad
3 changed files with 153 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/cpumask.h>
@@ -16,7 +17,8 @@ struct call_single_data {
struct list_head list;
void (*func) (void *info);
void *info;
unsigned int flags;
u16 flags;
u16 priv;
};
#ifdef CONFIG_SMP