]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: mtrr fix debug boot parameter
authorThomas Renninger <trenn@suse.de>
Tue, 20 Jan 2009 09:37:39 +0000 (10:37 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 11:26:42 +0000 (12:26 +0100)
commit731f1872f4e8a0f1eabd49c3548207e79a421202
treed60ab8ff57f1bc254330155b4cf444b0ef888531
parenta1e46212a410793d575718818e81ddc442a65283
x86: mtrr fix debug boot parameter

while looking at:

  http://bugzilla.kernel.org/show_bug.cgi?id=11541

I realized that the mtrr.show param cannot work, because
the code is processed much too early.

This patch:
 - Declares mtrr.show as early_param
 - Stays consistent with the previous param (which I doubt
   that it ever worked), so mtrr.show=1 would still work
 - Declares mtrr_show as initdata

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/generic.c