diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/elf.h | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cpufreq.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/blackfin/include/asm/elf.h b/arch/blackfin/include/asm/elf.h index 67a03a8a353e..cdbfcfc30f6a 100644 --- a/arch/blackfin/include/asm/elf.h +++ b/arch/blackfin/include/asm/elf.h | |||
@@ -122,6 +122,6 @@ do { \ | |||
122 | 122 | ||
123 | #define ELF_PLATFORM (NULL) | 123 | #define ELF_PLATFORM (NULL) |
124 | 124 | ||
125 | #define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX) | 125 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) |
126 | 126 | ||
127 | #endif | 127 | #endif |
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index 75cdad291e88..c22c47b60127 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
@@ -158,8 +158,6 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) | |||
158 | dpm_state_table[index].tscale); | 158 | dpm_state_table[index].tscale); |
159 | } | 159 | } |
160 | 160 | ||
161 | policy->governor = CPUFREQ_DEFAULT_GOVERNOR; | ||
162 | |||
163 | policy->cpuinfo.transition_latency = (bfin_read_PLL_LOCKCNT() / (sclk / 1000000)) * 1000; | 161 | policy->cpuinfo.transition_latency = (bfin_read_PLL_LOCKCNT() / (sclk / 1000000)) * 1000; |
164 | /*Now ,only support one cpu */ | 162 | /*Now ,only support one cpu */ |
165 | policy->cur = cclk; | 163 | policy->cur = cclk; |