ia64/xen-unstable

diff xen/include/asm-x86/hardirq.h @ 9552:3838105ab03b

Various softirq cleanups:
1. Make __softirq_pending a long, since PPC borrows the file
hardirq.h from us and they only do atomic ops on longs.
2. do_softirq() explicitly takes a void param list.
3. Remove idle_timestamp field from irq_cpustat. It's unused
and lets us simplify the idle loop a little bit.

Part 1 based on a patch from Hollis Blanchard at IBM.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Mar 31 12:03:42 2006 +0100 (2006-03-31)
parents 07a892f12609
children
line diff
     1.1 --- a/xen/include/asm-x86/hardirq.h	Fri Mar 31 11:04:42 2006 +0100
     1.2 +++ b/xen/include/asm-x86/hardirq.h	Fri Mar 31 12:03:42 2006 +0100
     1.3 @@ -5,10 +5,9 @@
     1.4  #include <xen/cache.h>
     1.5  
     1.6  typedef struct {
     1.7 -	unsigned int __softirq_pending;
     1.8 +	unsigned long __softirq_pending;
     1.9  	unsigned int __local_irq_count;
    1.10  	unsigned int __nmi_count;
    1.11 -	unsigned long idle_timestamp;
    1.12  } __cacheline_aligned irq_cpustat_t;
    1.13  
    1.14  #include <xen/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */