lkml.org 
[lkml]   [2004]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:1.034 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site