diff options
author | Graf Yang <graf.yang@analog.com> | 2010-01-28 11:46:55 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-18 09:01:03 +0100 |
commit | 6f546bc3ac9eedbf770bf3bcbc45ce2ea32c94ad (patch) | |
tree | 7089509d165a19156c3be21950f96160fb1f06a1 /arch/blackfin/include/asm/dpmc.h | |
parent | Blackfin: split optimization settings more (diff) | |
download | linux-6f546bc3ac9eedbf770bf3bcbc45ce2ea32c94ad.tar.xz linux-6f546bc3ac9eedbf770bf3bcbc45ce2ea32c94ad.zip |
Blackfin: SMP: implement cpu_freq support
Re-use some of the existing cpu hotplugging code in the process.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/dpmc.h')
-rw-r--r-- | arch/blackfin/include/asm/dpmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h index 3047120cfcff..edf2a2ad5183 100644 --- a/arch/blackfin/include/asm/dpmc.h +++ b/arch/blackfin/include/asm/dpmc.h @@ -125,6 +125,9 @@ void unset_dram_srfs(void); #define VRPAIR(vlev, freq) (((vlev) << 16) | ((freq) >> 16)) +#ifdef CONFIG_CPU_FREQ +#define CPUFREQ_CPU 0 +#endif struct bfin_dpmc_platform_data { const unsigned int *tuple_tab; unsigned short tabsize; |