Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[RESEND] [PATCH] arch/i386/kernel/cpu/cpufreq/cpufreq-nfor..

 
   Linux (Home) -> Kernel RSS
Next:  [ANNOUNCE] Driver project for Secure Digital Host..  
Author Message
Gabriel A. Devenyi

External


Since: Sep 03, 2005
Posts: 10



(Msg. 1) Posted: Tue Nov 08, 2005 1:40 pm
Post subject: [RESEND] [PATCH] arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c
Archived from groups: linux>kernel (more info?)

Thanks to LinuxICC (http://linuxicc.sf.net), a comparison of a u32 less than 0 was found, this patch changes the variable to a signed int so that comparison is meaningful.

This patch applies to linus' git tree as of 02.11.2005

Signed-off-by: Gabriel A. Devenyi <ace.RemoveThis@staticwave.ca>

--
diff --git a/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c b/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c
index 04a4053..039297b 100644
--- a/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c
+++ b/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c
@@ -177,9 +177,9 @@ static unsigned int nforce2_fsb_read(int
*/
static int nforce2_set_fsb(unsigned int fsb)
{
- u32 pll, temp = 0;
+ u32 temp = 0;
unsigned int tfsb;
- int diff;
+ int diff, pll = 0;

if ((fsb > max_fsb) || (fsb < NFORCE2_MIN_FSB)) {
printk(KERN_ERR "cpufreq: FSB %d is out of range!\n", fsb);


--
Gabriel A. Devenyi
ace.RemoveThis@staticwave.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.RemoveThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Help: Using cpufreq from kernel level - Hi all, I'm writing a kernel module that needs to get info about the available frequencies on the current processor and to periodically change the current frequency. At user level it can be done through ..

[patch 0/4] dynamically create "cache" and "cpufreq" entri.. - Hi, [Resend... somehow first post never made out of here..] This fixes the 2 entries in /sys/devices/system/cpu/cpuX to be created when CPU is onlined, and removed when they are offlined. Andrew: please consider for next -mm. Cheers, ashok - To..

[PATCH] acpi-cpufreq: Remove P-state read after a P-state .. - Remove P-state read status after a P-state write in normal case. As that operation is expensive. There are no known failures of a set and we can assume success in the common case. acpi_pstate_strict parameter can be used to force it back on any system...

cannot unload acpi-cpufreq - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Running 2.6.15 vanilla. I am unable to unload acpi-cpufreq - I always get {pts/1}% sudo rmmod acpi_cpufreq ERROR: Module acpi_cpufreq is in use I do not see, how can I actually "release" it. Als...

[2.6 patch] arch/i386/kernel/reboot_fixups.c should #include - Every file should #include the header files containing the prototypes of it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> --- linux-2.6.14-rc2-mm2-full/arch/i386/kernel/reboot_fixups.c.old 2005-10-02 02:15:19.000000000 +0200 ++...
       Linux (Home) -> Kernel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact