ia64/xen-unstable

changeset 12697:5adde07b4b8a

[XEN] Arch-specific softirq definitions.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kfraser@localhost.localdomain
date Thu Nov 30 17:14:09 2006 +0000 (2006-11-30)
parents d5d5915f4a7c
children 27a5a62552c0
files xen/include/asm-ia64/softirq.h xen/include/asm-powerpc/softirq.h xen/include/asm-x86/softirq.h xen/include/xen/softirq.h
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xen/include/asm-ia64/softirq.h	Thu Nov 30 17:14:09 2006 +0000
     1.3 @@ -0,0 +1,6 @@
     1.4 +#ifndef __ASM_SOFTIRQ_H__
     1.5 +#define __ASM_SOFTIRQ_H__
     1.6 +
     1.7 +#define NR_ARCH_SOFTIRQS    0
     1.8 +
     1.9 +#endif /* __ASM_SOFTIRQ_H__ */
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xen/include/asm-powerpc/softirq.h	Thu Nov 30 17:14:09 2006 +0000
     2.3 @@ -0,0 +1,6 @@
     2.4 +#ifndef __ASM_SOFTIRQ_H__
     2.5 +#define __ASM_SOFTIRQ_H__
     2.6 +
     2.7 +#define NR_ARCH_SOFTIRQS    0
     2.8 +
     2.9 +#endif /* __ASM_SOFTIRQ_H__ */
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xen/include/asm-x86/softirq.h	Thu Nov 30 17:14:09 2006 +0000
     3.3 @@ -0,0 +1,6 @@
     3.4 +#ifndef __ASM_SOFTIRQ_H__
     3.5 +#define __ASM_SOFTIRQ_H__
     3.6 +
     3.7 +#define NR_ARCH_SOFTIRQS    0
     3.8 +
     3.9 +#endif /* __ASM_SOFTIRQ_H__ */
     4.1 --- a/xen/include/xen/softirq.h	Thu Nov 30 17:07:26 2006 +0000
     4.2 +++ b/xen/include/xen/softirq.h	Thu Nov 30 17:14:09 2006 +0000
     4.3 @@ -9,7 +9,12 @@
     4.4  #define NMI_SOFTIRQ                       4
     4.5  #define PAGE_SCRUB_SOFTIRQ                5
     4.6  #define TRACE_SOFTIRQ                     6
     4.7 -#define NR_SOFTIRQS                       7
     4.8 +
     4.9 +#define NR_COMMON_SOFTIRQS                7
    4.10 +
    4.11 +#include <asm/softirq.h>
    4.12 +
    4.13 +#define NR_SOFTIRQS (NR_COMMON_SOFTIRQS + NR_ARCH_SOFTIRQS)
    4.14  
    4.15  #ifndef __ASSEMBLY__
    4.16