Re: [PATCH] fix setting of sn_hub_info->shub_1_1_found

From: Dean Nelson <>
Date: 2005-06-04 05:14:21
On Fri, Jun 03, 2005 at 11:50:55AM -0700, Luck, Tony wrote:
> >This explains why XPC has been so troublesome to load on older systems.
> >Thanks Dean!
> >
> >Tony, can this still get into 2.6.12?
> Probably ... but the first hunk of the patch looks like a no-op,
> and contravenes some style guidlines about initializing global
> variables to 0.
> -static int shub_1_1_found __initdata;
> +static int __initdata shub_1_1_found = 0;

It was my understanding from linux/Documentation/DocBook/kernel-hacking.tmpl
that '__initdata' meant that the variable shub_1_1_found was not initialized
to anything (unlike ordinary static data).

Perhaps that is no longer (or never was) true? If so, then indeed ignore
the first hunk.

> Presumably you'd still like the second hunk?

But definitely apply the second hunk.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Jun 3 15:14:35 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:39 EST