Re: MTRR __initdata confusion.

From: Randy.Dunlap
Date: Sat Jul 03 2004 - 12:00:44 EST


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@xxxxxxxxxx>
|
| 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/