summaryrefslogtreecommitdiffstats
path: root/include/linux/smp.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-23 22:15:57 -0700
committerJens Axboe <jens.axboe@oracle.com>2008-10-17 08:46:56 +0200
commit54514a70adefe356afe854e2d3912d46668068e6 (patch)
treee2b08f2c10ff427447fdc40e96555fc2f22549e1 /include/linux/smp.h
parent2e532d68a2b3e2aa6b19731501222069735c741c (diff)
downloadop-kernel-dev-54514a70adefe356afe854e2d3912d46668068e6.zip
op-kernel-dev-54514a70adefe356afe854e2d3912d46668068e6.tar.gz
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>
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r--include/linux/smp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 66484d4..2e4d58b 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -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
OpenPOWER on IntegriCloud