|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove
 
Simon Horman writes ("Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on 
hot-remove"):
> On Fri, Mar 13, 2009 at 01:59:24PM +0900, Yuji Shimada wrote:
> > +char mapped_machine_irq[PT_NR_IRQS] = {0};
> 
> This only initialises the first element of mapped_machine_irq[] to 0.
Statically allocated objects (that is, ones in the data and code
segments rather than on the stack) are initialised to 0 by the system
anyway.  But I agree that it's an unusual style.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
| 
Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove,
Ian Jackson <=
 |  
  
 | 
    | 
  
  
    |   | 
    |