mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Holger Schurig <hs4233@mail.mn-solutions.de>
To: linux-kernel@vger.kernel.org
Subject: [patch 2.6.19-rc6] fix warning in speedstep-centrino.c
Date: Fri, 17 Nov 2006 17:36:46 +0100	[thread overview]
Message-ID: <200611171736.46757.hs4233@mail.mn-solutions.de> (raw)

Fixes warning: 'sw_any_bug_dmi_table' defined but not used

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>

--- linux.orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -385,6 +385,7 @@
  * detected, this has a side effect of making CPU run at a different speed
  * than OS intended it to run at. Detect it and handle it cleanly.
  */
+#ifdef CONFIG_SMP
 static int bios_with_sw_any_bug;
 static int sw_any_bug_found(struct dmi_system_id *d)
 {
@@ -405,6 +406,7 @@
 	},
 	{ }
 };
+#endif
 
 
 /*

                 reply	other threads:[~2006-11-17 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611171736.46757.hs4233@mail.mn-solutions.de \
    --to=hs4233@mail.mn-solutions.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®