]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/processor.h
m68k: Use _AC() instead of #ifdef __ASSEMBLY__
[linux-2.6-omap-h63xx.git] / include / asm-m68k / processor.h
index 7982285e84edcdaf3d3f3647b45ed87687ebb542..4453ec379c5dabd2e723f8b8105ca6066e2b6f14 100644 (file)
@@ -13,7 +13,6 @@
  */
 #define current_text_addr() ({ __label__ _l; _l: &&_l;})
 
-#include <linux/config.h>
 #include <linux/thread_info.h>
 #include <asm/segment.h>
 #include <asm/fpu.h>
@@ -39,12 +38,8 @@ static inline void wrusp(unsigned long usp)
 #ifndef CONFIG_SUN3
 #define TASK_SIZE      (0xF0000000UL)
 #else
-#ifdef __ASSEMBLY__
-#define TASK_SIZE      (0x0E000000)
-#else
 #define TASK_SIZE      (0x0E000000UL)
 #endif
-#endif
 
 /* This decides where the kernel will search for a free chunk of vm
  * space during mmap's.
@@ -72,10 +67,10 @@ struct thread_struct {
 };
 
 #define INIT_THREAD  {                                                 \
-       ksp:    sizeof(init_stack) + (unsigned long) init_stack,        \
-       sr:     PS_S,                                                   \
-       fs:     __KERNEL_DS,                                            \
-       info:   INIT_THREAD_INFO(init_task)                             \
+       .ksp    = sizeof(init_stack) + (unsigned long) init_stack,      \
+       .sr     = PS_S,                                                 \
+       .fs     = __KERNEL_DS,                                          \
+       .info   = INIT_THREAD_INFO(init_task),                          \
 }
 
 /*