mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
Blackfin arch: smp patch cleanup from LKML review
1. Use inline get_l1_... functions instead of macro 2. Fix compile issue about smp barrier functions Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
@@ -99,15 +99,6 @@
|
||||
#define L1_SCRATCH_START 0xFFB00000
|
||||
#define L1_SCRATCH_LENGTH 0x1000
|
||||
|
||||
#define get_l1_scratch_start_cpu(cpu) L1_SCRATCH_START
|
||||
#define get_l1_code_start_cpu(cpu) L1_CODE_START
|
||||
#define get_l1_data_a_start_cpu(cpu) L1_DATA_A_START
|
||||
#define get_l1_data_b_start_cpu(cpu) L1_DATA_B_START
|
||||
#define get_l1_scratch_start() L1_SCRATCH_START
|
||||
#define get_l1_code_start() L1_CODE_START
|
||||
#define get_l1_data_a_start() L1_DATA_A_START
|
||||
#define get_l1_data_b_start() L1_DATA_B_START
|
||||
|
||||
#define GET_PDA_SAFE(preg) \
|
||||
preg.l = _cpu_pda; \
|
||||
preg.h = _cpu_pda;
|
||||
|
||||
Reference in New Issue
Block a user