]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/include/asm/l1layout.h
Merge commit 'v2.6.29' into x86/setup-lzma
[linux-2.6-omap-h63xx.git] / arch / blackfin / include / asm / l1layout.h
index c13ded777828be20c82c3afcfa169dc1886c8440..79dbefaa5bef1701484a2753e871cc7a8c72d2ae 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <asm/blackfin.h>
 
+#ifndef CONFIG_SMP
 #ifndef __ASSEMBLY__
 
 /* Data that is "mapped" into the process VM at the start of the L1 scratch
@@ -24,8 +25,10 @@ struct l1_scratch_task_info
 };
 
 /* A pointer to the structure in memory.  */
-#define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)L1_SCRATCH_START)
+#define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)\
+                                               get_l1_scratch_start())
 
 #endif
+#endif
 
 #endif