Commit 7c3a930b authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Kill off inlines in powernow-k8 driver.

Gcc should be smart enough to do this itself.
parent 813ef93d
...@@ -83,7 +83,7 @@ static u32 convert_fid_to_vco_fid(u32 fid) ...@@ -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 * 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. * to transition to a new state, seeing this bit set is really bad news.
*/ */
static inline int pending_bit_stuck(void) static int pending_bit_stuck(void)
{ {
u32 lo, hi; u32 lo, hi;
...@@ -116,14 +116,14 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data) ...@@ -116,14 +116,14 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data)
} }
/* the isochronous relief time */ /* 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); udelay((1 << data->irt) * 10);
return; return;
} }
/* the voltage stabalization time */ /* 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); udelay(data->vstable * VST_UNITS_20US);
return; return;
......
...@@ -143,7 +143,7 @@ struct pst_s { ...@@ -143,7 +143,7 @@ struct pst_s {
#define dprintk(msg...) do { } while(0) #define dprintk(msg...) do { } while(0)
#endif #endif
static inline int core_voltage_pre_transition(struct powernow_k8_data *data, u32 reqvid); static int core_voltage_pre_transition(struct powernow_k8_data *data, u32 reqvid);
static inline int core_voltage_post_transition(struct powernow_k8_data *data, u32 reqvid); static int core_voltage_post_transition(struct powernow_k8_data *data, u32 reqvid);
static inline int core_frequency_transition(struct powernow_k8_data *data, u32 reqfid); static int core_frequency_transition(struct powernow_k8_data *data, u32 reqfid);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment