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

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-06-06 15:05:54
>There is a linker restriction that you must initialise variables that
>are to be stored in different sections, which is what __initdata does.
>without initialization shub_1_1_found ends up in .bss, with
>initialization it ends up in .init.data.

Keith,

Thanks for the explanation.

At least things will still work as expected, we just won't free up the
memory for uninitialized __initdata objects, which is better than having
__initdata objects initialized to random values.

But it does mean that the docs are right, and that we should fix up
other places where __initdata objects do not have initializers.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jun 6 01:06:26 2005

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