ia64/xen-unstable

changeset 4167:6a97e01e0c4e

bitkeeper revision 1.1236.34.8 (42373942-BgO6YSNJMW5PAsR4tv0aA)

A few PPC cleanups.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 15 19:36:34 2005 +0000 (2005-03-15)
parents aeccd691af4c
children 7a5ec83c604e 42e0df91b746
files xen/include/xen/irq_cpustat.h xen/include/xen/sched.h xen/include/xen/softirq.h
line diff
     1.1 --- a/xen/include/xen/irq_cpustat.h	Tue Mar 15 19:21:16 2005 +0000
     1.2 +++ b/xen/include/xen/irq_cpustat.h	Tue Mar 15 19:36:34 2005 +0000
     1.3 @@ -20,11 +20,7 @@
     1.4  
     1.5  extern irq_cpustat_t irq_stat[];
     1.6  
     1.7 -#ifdef CONFIG_SMP
     1.8  #define __IRQ_STAT(cpu, member)	(irq_stat[cpu].member)
     1.9 -#else
    1.10 -#define __IRQ_STAT(cpu, member)	((void)(cpu), irq_stat[0].member)
    1.11 -#endif	
    1.12  
    1.13    /* arch independent irq_stat fields */
    1.14  #define softirq_pending(cpu)	__IRQ_STAT((cpu), __softirq_pending)
     2.1 --- a/xen/include/xen/sched.h	Tue Mar 15 19:21:16 2005 +0000
     2.2 +++ b/xen/include/xen/sched.h	Tue Mar 15 19:36:34 2005 +0000
     2.3 @@ -22,6 +22,7 @@
     2.4  #include <xen/grant_table.h>
     2.5  #include <asm/hardirq.h>
     2.6  #include <asm/domain.h>
     2.7 +#include <asm/bitops.h>
     2.8  
     2.9  extern unsigned long volatile jiffies;
    2.10  extern rwlock_t domlist_lock;
     3.1 --- a/xen/include/xen/softirq.h	Tue Mar 15 19:21:16 2005 +0000
     3.2 +++ b/xen/include/xen/softirq.h	Tue Mar 15 19:36:34 2005 +0000
     3.3 @@ -14,6 +14,7 @@
     3.4  #include <xen/config.h>
     3.5  #include <xen/lib.h>
     3.6  #include <xen/smp.h>
     3.7 +#include <xen/irq_cpustat.h>
     3.8  #include <asm/bitops.h>
     3.9  #include <asm/hardirq.h>
    3.10