From: Greg Ungerer <gerg@xxxxxxxxxxx> The conditional definition of the task_thread_info() macro based on ASM_OFFSETS_C being defined is not used. Remove it. Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx> --- arch/m68k/include/asm/thread_info.h | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/m68k/include/asm/thread_info.h b/arch/m68k/include/asm/thread_info.h index e4e2159..6140b48 100644 --- a/arch/m68k/include/asm/thread_info.h +++ b/arch/m68k/include/asm/thread_info.h @@ -53,13 +53,9 @@ struct thread_info { #include <asm/current.h> #endif -#ifdef ASM_OFFSETS_C -#define task_thread_info(tsk) ((struct thread_info *) NULL) -#else #include <asm/asm-offsets.h> -#define task_thread_info(tsk) ((struct thread_info *)((char *)tsk+TASK_INFO)) -#endif +#define task_thread_info(tsk) ((struct thread_info *)((char *)tsk+TASK_INFO)) #define init_thread_info (init_task.thread.info) #define task_stack_page(tsk) ((tsk)->stack) #define current_thread_info() task_thread_info(current) -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html