aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/softirq.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-30 17:14:09 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-30 17:14:09 +0000
commitf446b44935ec9e42dba073dccffec738a5feaa37 (patch)
tree20391846fea66af10c09be7b8639a60d140a5851 /xen/include/xen/softirq.h
parentcffd8b0db89e6cead31090adf0c96d7d84ee6769 (diff)
downloadxen-f446b44935ec9e42dba073dccffec738a5feaa37.tar.gz
xen-f446b44935ec9e42dba073dccffec738a5feaa37.tar.bz2
xen-f446b44935ec9e42dba073dccffec738a5feaa37.zip
[XEN] Arch-specific softirq definitions.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Diffstat (limited to 'xen/include/xen/softirq.h')
-rw-r--r--xen/include/xen/softirq.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/xen/include/xen/softirq.h b/xen/include/xen/softirq.h
index d4e8edd7ad..a51aad6280 100644
--- a/xen/include/xen/softirq.h
+++ b/xen/include/xen/softirq.h
@@ -9,7 +9,12 @@
#define NMI_SOFTIRQ 4
#define PAGE_SCRUB_SOFTIRQ 5
#define TRACE_SOFTIRQ 6
-#define NR_SOFTIRQS 7
+
+#define NR_COMMON_SOFTIRQS 7
+
+#include <asm/softirq.h>
+
+#define NR_SOFTIRQS (NR_COMMON_SOFTIRQS + NR_ARCH_SOFTIRQS)
#ifndef __ASSEMBLY__