mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] intialize cpu_freq in arch/i386/kernel/cpu/transmeta.c
@ 2006-05-20 20:50 Ameer Armaly
  0 siblings, 0 replies; only message in thread
From: Ameer Armaly @ 2006-05-20 20:50 UTC (permalink / raw)
  To: linux-kernel

Initializing cpu_freq to 0 in arch/i386/kernel/cpu/transmeta.c gets rid of 
an unnecessary warning.
Initialized cpu_freq in arch/i386/kernel/cpu/transmeta.c to suppress warning.

---
commit 53121ea5e13e075e5239734bb26c3cae7ee84ee0
tree 0eca3170380c610969118c6fa7700558b7232e5d
parent 6566a3f8f3281497a81815dfe2b64eb54dafe05d
author Ameer Armaly <ameer_armaly@hotmail.com> Sat, 20 May 2006 16:43:05 -0400
committer Ameer Armaly <ameer@sg1.(none)> Sat, 20 May 2006 16:43:05 -0400

  arch/i386/kernel/cpu/transmeta.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/i386/kernel/cpu/transmeta.c
index 7214c9b..0737890 100644
--- a/arch/i386/kernel/cpu/transmeta.c
+++ b/arch/i386/kernel/cpu/transmeta.c
@@ -9,7 +9,7 @@ static void __init init_transmeta(struct
  {
  	unsigned int cap_mask, uk, max, dummy;
  	unsigned int cms_rev1, cms_rev2;
-	unsigned int cpu_rev, cpu_freq, cpu_flags, new_cpu_rev;
+	unsigned int cpu_rev, cpu_freq = 0, cpu_flags, new_cpu_rev;
  	char cpu_info[65];

  	get_model_name(c);	/* Same as AMD/Cyrix */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-20 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-20 20:50 [patch] intialize cpu_freq in arch/i386/kernel/cpu/transmeta.c Ameer Armaly

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®