diff options
author | davem <davem> | 2001-11-13 04:12:59 +0000 |
---|---|---|
committer | davem <davem> | 2001-11-13 04:12:59 +0000 |
commit | 179646efed623c249df269fa81144256c9707374 (patch) | |
tree | 1292ea3c1db086eb5ebd4831d09a850cb379cb45 /include | |
parent | 29e8fcd8a8755fdb40a8c156590277ca8e75fea7 (diff) | |
download | netdev-vger-cvs-179646efed623c249df269fa81144256c9707374.tar.gz |
Backout these tasklet/softirq changes.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/interrupt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 47f1a091c..d2afbde82 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -112,6 +112,10 @@ struct tasklet_struct #define DECLARE_TASKLET(name, func, data) \ struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(0), func, data } +#define DECLARE_TASKLET_DISABLED(name, func, data) \ +struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(1), func, data } + + enum { TASKLET_STATE_SCHED, /* Tasklet is scheduled for execution */ |