Skip to contentSkip to conversation

Make INIT_TASK_DATA use INIT_TASK macro with parameter

PATCH New Jesper Nilsson 1 participant 1 message Jun 23, 2009 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make INIT_TASK_DATA use INIT_TASK macro with parameter

The definition of INIT_TASK_DATA in include/asm-generic/vmlinux.lds.h looks a bit dodgy, it uses the INIT_TASK macro but without any parameters.

The INIT_TASK macro takes a parameter for alignment, but we already have aligned, so give it a zero as parameter.

---
 include/asm-generic/vmlinux.lds.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-generic/vmlinux.lds.h +1 -1
index 92b73b6..648826b 100644
@@ -437,7 +437,7 @@
 #define INIT_TASK_DATA(align)						\
 	. = ALIGN(align);						\
 	.data.init_task : {						\
-		INIT_TASK						\
+		INIT_TASK(0)						\
 	}
 
 #ifdef CONFIG_CONSTRUCTORS
Signature · 5 lines
1.6.1

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- [email protected]