Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 281231 Details for
Bug 413941
powernow-k8 requires SMP to build
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL5 fix for this issue
413941.patch (text/plain), 1.67 KB, created by
Prarit Bhargava
on 2007-12-07 14:32:01 UTC
(
hide
)
Description:
RHEL5 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-12-07 14:32:01 UTC
Size:
1.67 KB
patch
obsolete
>Fix UP compile on RHEL5. > >(Yes, I know we don't ship a UP RHEL5 kernel. But it should compile.) > >We changed the boot message in the K8 PowerNow driver a while ago and that >broke UP compiles. > >Resolves BZ 413941. > >Sucessfully tested by me. > >--- linux-2.6.18.x86_64.orig/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2007-12-07 09:10:28.000000000 -0500 >+++ linux-2.6.18.x86_64/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2007-12-07 09:24:45.000000000 -0500 >@@ -1190,6 +1190,7 @@ static int powernowk8_verify(struct cpuf > return cpufreq_frequency_table_verify(pol, data->powernow_table); > } > >+#ifdef CONFIG_SMP > /* On an MP system that is transitioning all cores in sync, adjust the > * vids for each frequency to the highest. Otherwise, systems made up > * of different steppings may fail. >@@ -1216,6 +1217,8 @@ static void sync_tables(int curcpu) > } > } > } >+#endif >+ > /* per CPU init entry point to the driver */ > static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol) > { >@@ -1431,9 +1434,16 @@ static int __cpuinit powernowk8_init(voi > for(i=0; i < num_possible_cpus(); i++) > req_state[i] = 99; > } >+#ifdef CONFIG_SMP > printk(KERN_INFO PFX "Found %d %s " >- "processors (%d cpu cores) (" VERSION ")\n", supported_cpus/cpu_data[0].booted_cores, >- boot_cpu_data.x86_model_id, supported_cpus); >+ "processors (%d cpu cores) (" VERSION ")\n", >+ supported_cpus/cpu_data[0].booted_cores, >+ boot_cpu_data.x86_model_id, supported_cpus); >+#else >+ printk(KERN_INFO PFX "Found 1 %s " >+ "processors (%d cpu cores) (" VERSION ")\n", >+ boot_cpu_data.x86_model_id, supported_cpus); >+#endif > return cpufreq_register_driver(&cpufreq_amd64_driver); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 413941
: 281231