MTRR __initdata confusion.

From: Dave Jones
Date: Sat Jul 03 2004 - 11:43:38 EST


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 = {};


-
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/