ALT Linux Bugzilla
– Attachment 743 Details for
Bug 6124
gcc3.4 compatibility patch
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
gcc3.4_fix.patch
linux-2.4.29-powernow-k8_gcc34_fix.patch (text/plain), 1.59 KB, created by
Konstantin A Lepikhov (L.A. Kostis)
on 2005-02-15 01:05:11 MSK
(
hide
)
Description:
gcc3.4_fix.patch
Filename:
MIME Type:
Creator:
Konstantin A Lepikhov (L.A. Kostis)
Created:
2005-02-15 01:05:11 MSK
Size:
1.59 KB
patch
obsolete
>--- a/arch/i386/kernel/powernow-k8.c~ 2005-02-12 17:47:18 +0300 >+++ a/arch/i386/kernel/powernow-k8.c 2005-02-13 14:47:32 +0300 >@@ -203,29 +203,6 @@ > return 0; > } > >-/* Change the fid and vid, by the 3 phases. */ >-static inline int transition_fid_vid(u32 reqfid, u32 reqvid) >-{ >- if (core_voltage_pre_transition(reqvid)) >- return 1; >- if (core_frequency_transition(reqfid)) >- return 1; >- if (core_voltage_post_transition(reqvid)) >- return 1; >- if (query_current_values_with_pending_wait()) >- return 1; >- >- if ((reqfid != currfid) || (reqvid != currvid)) { >- printk(KERN_ERR PFX "failed: req %x %x, curr %x %x\n", >- reqfid, reqvid, currfid, currvid); >- return 1; >- } >- >- dprintk(KERN_INFO PFX >- "transitioned: new fid %x, vid %x\n", currfid, currvid); >- return 0; >-} >- > /* Phase 1 - core voltage transition ... setup voltage */ > static inline int core_voltage_pre_transition(u32 reqvid) > { >@@ -390,6 +367,28 @@ > currfid, currvid); > return 0; > } >+/* Change the fid and vid, by the 3 phases. */ >+static inline int transition_fid_vid(u32 reqfid, u32 reqvid) >+{ >+ if (core_voltage_pre_transition(reqvid)) >+ return 1; >+ if (core_frequency_transition(reqfid)) >+ return 1; >+ if (core_voltage_post_transition(reqvid)) >+ return 1; >+ if (query_current_values_with_pending_wait()) >+ return 1; >+ >+ if ((reqfid != currfid) || (reqvid != currvid)) { >+ printk(KERN_ERR PFX "failed: req %x %x, curr %x %x\n", >+ reqfid, reqvid, currfid, currvid); >+ return 1; >+ } >+ >+ dprintk(KERN_INFO PFX >+ "transitioned: new fid %x, vid %x\n", currfid, currvid); >+ return 0; >+} > > static inline int check_supported_cpu(void) > {
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 6124
: 743