Re: [PATCH 3/4] per-platform IA64_{FIRST,LAST}_DEVICE_VECTOR definitions

From: Matthew Wilcox <>
Date: 2005-12-22 06:32:20
On Wed, Dec 21, 2005 at 01:18:43PM -0600, Mark Maule wrote:
> Ok.  Was just following the lead of this:
> static struct msi_desc* msi_desc[NR_IRQS] = { [0 ... NR_IRQS-1] = NULL };
> So arrays are always init'd to zero?

Static variables without an initialiser go to the bss section and get
initialised to 0 by the loader.  So the initialisation above is
redundant on all machines which use a bitpattern of zeros to represent
the NULL pointer.  Which is all machines Linux runs on.
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Dec 22 06:32:59 2005

This archive was generated by hypermail 2.1.8 : 2005-12-22 06:33:09 EST