mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 06:50:08 +00:00
Blackfin arch: Fix incorrect use of loose in cpufreq.c
It should be 'lose', not 'loose'. Signed-off-by: Nick Andrew <nick@nick-andrew.net> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
75aca61b1f
commit
bc39ac6680
@ -112,7 +112,7 @@ static int bfin_target(struct cpufreq_policy *policy,
|
||||
bfin_write_TSCALE(tscale);
|
||||
cycles = get_cycles();
|
||||
SSYNC();
|
||||
cycles += 10; /* ~10 cycles we loose after get_cycles() */
|
||||
cycles += 10; /* ~10 cycles we lose after get_cycles() */
|
||||
__bfin_cycles_off += (cycles << __bfin_cycles_mod) - (cycles << index);
|
||||
__bfin_cycles_mod = index;
|
||||
local_irq_restore(flags);
|
||||
|
Loading…
Reference in New Issue
Block a user