diff options
author | Graf Yang <graf.yang@analog.com> | 2009-01-07 10:14:39 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:39 -0500 |
commit | dbc895f95500a73ebf1ff12fe85f2e2b3790f52f (patch) | |
tree | 8b60024a7725c559767295b2b3ef143a39111f8b /arch/blackfin/mach-bf548/include | |
parent | f994607a2e118aedf1116a58ecd16126dbb83d28 (diff) |
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>
Diffstat (limited to 'arch/blackfin/mach-bf548/include')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/mem_map.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/mem_map.h b/arch/blackfin/mach-bf548/include/mach/mem_map.h index 361eb0e85bc0..70b9c1194024 100644 --- a/arch/blackfin/mach-bf548/include/mach/mem_map.h +++ b/arch/blackfin/mach-bf548/include/mach/mem_map.h | |||
@@ -108,15 +108,6 @@ | |||
108 | #define L1_SCRATCH_START 0xFFB00000 | 108 | #define L1_SCRATCH_START 0xFFB00000 |
109 | #define L1_SCRATCH_LENGTH 0x1000 | 109 | #define L1_SCRATCH_LENGTH 0x1000 |
110 | 110 | ||
111 | #define get_l1_scratch_start_cpu(cpu) L1_SCRATCH_START | ||
112 | #define get_l1_code_start_cpu(cpu) L1_CODE_START | ||
113 | #define get_l1_data_a_start_cpu(cpu) L1_DATA_A_START | ||
114 | #define get_l1_data_b_start_cpu(cpu) L1_DATA_B_START | ||
115 | #define get_l1_scratch_start() L1_SCRATCH_START | ||
116 | #define get_l1_code_start() L1_CODE_START | ||
117 | #define get_l1_data_a_start() L1_DATA_A_START | ||
118 | #define get_l1_data_b_start() L1_DATA_B_START | ||
119 | |||
120 | #define GET_PDA_SAFE(preg) \ | 111 | #define GET_PDA_SAFE(preg) \ |
121 | preg.l = _cpu_pda; \ | 112 | preg.l = _cpu_pda; \ |
122 | preg.h = _cpu_pda; | 113 | preg.h = _cpu_pda; |