Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7c3a930b
Commit
7c3a930b
authored
Apr 06, 2004
by
Dave Jones
Committed by
Dave Jones
Apr 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Kill off inlines in powernow-k8 driver.
Gcc should be smart enough to do this itself.
parent
813ef93d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+3
-3
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
+3
-3
No files found.
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
View file @
7c3a930b
...
...
@@ -83,7 +83,7 @@ static u32 convert_fid_to_vco_fid(u32 fid)
* Return 1 if the pending bit is set. Unless we just instructed the processor
* to transition to a new state, seeing this bit set is really bad news.
*/
static
in
line
in
t
pending_bit_stuck
(
void
)
static
int
pending_bit_stuck
(
void
)
{
u32
lo
,
hi
;
...
...
@@ -116,14 +116,14 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data)
}
/* the isochronous relief time */
static
inline
void
count_off_irt
(
struct
powernow_k8_data
*
data
)
static
void
count_off_irt
(
struct
powernow_k8_data
*
data
)
{
udelay
((
1
<<
data
->
irt
)
*
10
);
return
;
}
/* the voltage stabalization time */
static
inline
void
count_off_vst
(
struct
powernow_k8_data
*
data
)
static
void
count_off_vst
(
struct
powernow_k8_data
*
data
)
{
udelay
(
data
->
vstable
*
VST_UNITS_20US
);
return
;
...
...
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
View file @
7c3a930b
...
...
@@ -143,7 +143,7 @@ struct pst_s {
#define dprintk(msg...) do { } while(0)
#endif
static
in
line
in
t
core_voltage_pre_transition
(
struct
powernow_k8_data
*
data
,
u32
reqvid
);
static
in
line
in
t
core_voltage_post_transition
(
struct
powernow_k8_data
*
data
,
u32
reqvid
);
static
in
line
in
t
core_frequency_transition
(
struct
powernow_k8_data
*
data
,
u32
reqfid
);
static
int
core_voltage_pre_transition
(
struct
powernow_k8_data
*
data
,
u32
reqvid
);
static
int
core_voltage_post_transition
(
struct
powernow_k8_data
*
data
,
u32
reqvid
);
static
int
core_frequency_transition
(
struct
powernow_k8_data
*
data
,
u32
reqfid
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment