[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove



On Fri, Mar 27, 2009 at 08:54:33AM +0000, Keir Fraser wrote:
> On 27/03/2009 07:29, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
> 
> >>  +char mapped_machine_irq[PT_NR_IRQS] = {0};
> > My understanding is:
> > This does ensure all the elements of the array are 0, no matter the array is
> > global or local. Because in C99's  6.7.8 Initialization, we can find
> 
> Dexuan is correct. If you specify an incomplete initializer, the unspecified
> data values default to zero.

Thanks, I wasn't aware of that.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.