* [PATCH] Make INIT_TASK_DATA use INIT_TASK macro with parameter
@ 2009-06-23 9:07 Jesper Nilsson
0 siblings, 0 replies; only message in thread
From: Jesper Nilsson @ 2009-06-23 9:07 UTC (permalink / raw)
To: sam, linux-kernel, Tim Abbott
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.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
---
include/asm-generic/vmlinux.lds.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 92b73b6..648826b 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -437,7 +437,7 @@
#define INIT_TASK_DATA(align) \
. = ALIGN(align); \
.data.init_task : { \
- INIT_TASK \
+ INIT_TASK(0) \
}
#ifdef CONFIG_CONSTRUCTORS
--
1.6.1
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-23 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 9:07 [PATCH] Make INIT_TASK_DATA use INIT_TASK macro with parameter Jesper Nilsson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.