diff options
author | Bob Liu <lliubbo@gmail.com> | 2011-12-11 22:04:05 -0500 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-01-08 21:26:15 -0500 |
commit | d0014be47dc90d15adf7d6e09031d06e2aa7ce79 (patch) | |
tree | 1f633a783e6536a0e24ad0453533882dc21ca1bd /arch/blackfin/mach-bf561/include | |
parent | 16df3666f43507a6d21e192dae39b69cafc17089 (diff) |
blackfin: smp: cleanup smp code
move idle task point to percpu blackfin_cpudata and add smp_timer_broadcast
interface.
enable SUPPLE_1_WAKEUP and add BFIN_IPI_TIMER ipi support.
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf561/include')
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/pll.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/include/mach/pll.h b/arch/blackfin/mach-bf561/include/mach/pll.h index 7977db2f1c12..00bdacee9cc2 100644 --- a/arch/blackfin/mach-bf561/include/mach/pll.h +++ b/arch/blackfin/mach-bf561/include/mach/pll.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <mach/irq.h> | 16 | #include <mach/irq.h> |
17 | 17 | ||
18 | #define SUPPLE_0_WAKEUP ((IRQ_SUPPLE_0 - (IRQ_CORETMR + 1)) % 32) | 18 | #define SUPPLE_0_WAKEUP ((IRQ_SUPPLE_0 - (IRQ_CORETMR + 1)) % 32) |
19 | #define SUPPLE_1_WAKEUP ((IRQ_SUPPLE_1 - (IRQ_CORETMR + 1)) % 32) | ||
19 | 20 | ||
20 | static inline void | 21 | static inline void |
21 | bfin_iwr_restore(unsigned long iwr0, unsigned long iwr1, unsigned long iwr2) | 22 | bfin_iwr_restore(unsigned long iwr0, unsigned long iwr1, unsigned long iwr2) |
@@ -42,7 +43,8 @@ bfin_iwr_save(unsigned long niwr0, unsigned long niwr1, unsigned long niwr2, | |||
42 | static inline void | 43 | static inline void |
43 | bfin_iwr_set_sup0(unsigned long *iwr0, unsigned long *iwr1, unsigned long *iwr2) | 44 | bfin_iwr_set_sup0(unsigned long *iwr0, unsigned long *iwr1, unsigned long *iwr2) |
44 | { | 45 | { |
45 | bfin_iwr_save(0, IWR_ENABLE(SUPPLE_0_WAKEUP), 0, iwr0, iwr1, iwr2); | 46 | bfin_iwr_save(0, IWR_ENABLE(SUPPLE_0_WAKEUP) | |
47 | IWR_ENABLE(SUPPLE_1_WAKEUP), 0, iwr0, iwr1, iwr2); | ||
46 | } | 48 | } |
47 | 49 | ||
48 | #endif | 50 | #endif |