]> git.baikalelectronics.ru Git - kernel.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)
commite3e8c3b601ebd8ca587de4dd81a303ca1af2dccb
treed60ab8ff57f1bc254330155b4cf444b0ef888531
parentc60919e3b2fd34a83e9743a1cce09af0d3a63c2f
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