aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2006-09-25 14:23:32 -0400
committerVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2006-09-26 23:02:45 -0400
commit0497c8ca282915a1c36d51db33fbf2629d7346f3 (patch)
tree3b0908351be488ed0091a35c1f0fe43d1d20a48a /arch/i386/kernel
parent0e37b159aa7427bf311487e3ea03d8aa5ff5956e (diff)
[CPUFREQ] Fix section mismatch warning
Make the sections proper and get rid of section mismatch warnings. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c4
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index ea19d091fd41..a3fddc8d651d 100644
--- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -396,13 +396,13 @@ static int acpi_cpufreq_early_init_acpi(void)
396 */ 396 */
397static int bios_with_sw_any_bug; 397static int bios_with_sw_any_bug;
398 398
399static int __init sw_any_bug_found(struct dmi_system_id *d) 399static int sw_any_bug_found(struct dmi_system_id *d)
400{ 400{
401 bios_with_sw_any_bug = 1; 401 bios_with_sw_any_bug = 1;
402 return 0; 402 return 0;
403} 403}
404 404
405static struct dmi_system_id __initdata sw_any_bug_dmi_table[] = { 405static struct dmi_system_id sw_any_bug_dmi_table[] = {
406 { 406 {
407 .callback = sw_any_bug_found, 407 .callback = sw_any_bug_found,
408 .ident = "Supermicro Server X6DLP", 408 .ident = "Supermicro Server X6DLP",
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
index 7a9325349e94..e8993baf3d14 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -386,7 +386,7 @@ static int centrino_cpu_early_init_acpi(void)
386 * than OS intended it to run at. Detect it and handle it cleanly. 386 * than OS intended it to run at. Detect it and handle it cleanly.
387 */ 387 */
388static int bios_with_sw_any_bug; 388static int bios_with_sw_any_bug;
389static int __init sw_any_bug_found(struct dmi_system_id *d) 389static int sw_any_bug_found(struct dmi_system_id *d)
390{ 390{
391 bios_with_sw_any_bug = 1; 391 bios_with_sw_any_bug = 1;
392 return 0; 392 return 0;