Messages in this thread | | | Date | Sat, 3 Jul 2004 09:53:04 -0700 | From | "Randy.Dunlap" <> | Subject | Re: MTRR __initdata confusion. |
| |
On Sat, 3 Jul 2004 17:41:43 +0100 Dave Jones wrote:
| smp_changes_mask is used by generic_set_all() which isn't __init | | Signed-off-by: Dave Jones <davej@redhat.com> | | Dave | | --- FC2/arch/i386/kernel/cpu/mtrr/generic.c~ 2004-07-03 17:40:00.408094696 +0100 | +++ FC2/arch/i386/kernel/cpu/mtrr/generic.c 2004-07-03 17:40:05.666295328 +0100 | @@ -18,7 +18,7 @@ | mtrr_type def_type; | }; | | -static unsigned long smp_changes_mask __initdata = 0; | +static unsigned long smp_changes_mask = 0; | struct mtrr_state mtrr_state = {};
"= 0" can be dropped, as in the patch that I posted abour 2 weeks back:
http://marc.theaimsgroup.com/?l=linux-kernel&m=108727726300903&w=2
-- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |