diff options
Diffstat (limited to 'arch/blackfin/include/asm/l1layout.h')
-rw-r--r-- | arch/blackfin/include/asm/l1layout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/l1layout.h b/arch/blackfin/include/asm/l1layout.h index c13ded777828..79dbefaa5bef 100644 --- a/arch/blackfin/include/asm/l1layout.h +++ b/arch/blackfin/include/asm/l1layout.h | |||
@@ -8,6 +8,7 @@ | |||
8 | 8 | ||
9 | #include <asm/blackfin.h> | 9 | #include <asm/blackfin.h> |
10 | 10 | ||
11 | #ifndef CONFIG_SMP | ||
11 | #ifndef __ASSEMBLY__ | 12 | #ifndef __ASSEMBLY__ |
12 | 13 | ||
13 | /* Data that is "mapped" into the process VM at the start of the L1 scratch | 14 | /* Data that is "mapped" into the process VM at the start of the L1 scratch |
@@ -24,8 +25,10 @@ struct l1_scratch_task_info | |||
24 | }; | 25 | }; |
25 | 26 | ||
26 | /* A pointer to the structure in memory. */ | 27 | /* A pointer to the structure in memory. */ |
27 | #define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)L1_SCRATCH_START) | 28 | #define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)\ |
29 | get_l1_scratch_start()) | ||
28 | 30 | ||
29 | #endif | 31 | #endif |
32 | #endif | ||
30 | 33 | ||
31 | #endif | 34 | #endif |