Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332296
b: refs/heads/master
c: 5204e47
h: refs/heads/master
v: v3
  • Loading branch information
Steven Miao authored and Bob Liu committed Oct 8, 2012
1 parent bca9f46 commit 98900fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e334492632babe99db5ac6811fec15312eedb2ca
refs/heads/master: 5204e4787b89a281be88a2eb57407165da2757ad
1 change: 0 additions & 1 deletion trunk/arch/blackfin/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ void native_machine_restart(char *cmd)
void machine_restart(char *cmd)
{
native_machine_restart(cmd);
local_irq_disable();
if (smp_processor_id())
smp_call_function((void *)bfin_reset, 0, 1);
else
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/blackfin/mach-common/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static int bfin_target(struct cpufreq_policy *poli,
unsigned int plldiv;
#endif
unsigned int index, cpu;
unsigned long flags, cclk_hz;
unsigned long cclk_hz;
struct cpufreq_freqs freqs;
static unsigned long lpj_ref;
static unsigned int lpj_ref_freq;
Expand Down Expand Up @@ -165,7 +165,6 @@ static int bfin_target(struct cpufreq_policy *poli,

cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
if (cpu == CPUFREQ_CPU) {
flags = hard_local_irq_save();
#ifndef CONFIG_BF60x
plldiv = (bfin_read_PLL_DIV() & SSEL) |
dpm_state_table[index].csel;
Expand Down Expand Up @@ -194,7 +193,6 @@ static int bfin_target(struct cpufreq_policy *poli,
loops_per_jiffy = cpufreq_scale(lpj_ref,
lpj_ref_freq, freqs.new);
}
hard_local_irq_restore(flags);
}
/* TODO: just test case for cycles clock source, remove later */
cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
Expand Down

0 comments on commit 98900fb

Please sign in to comment.