From: Jesper Nilsson <jesper.nilsson@axis.com>
To: sam@ravnborg.org, linux-kernel@vger.kernel.org,
Tim Abbott <tabbott@mit.edu>
Subject: [PATCH] Make INIT_TASK_DATA use INIT_TASK macro with parameter
Date: Tue, 23 Jun 2009 11:07:08 +0200 [thread overview]
Message-ID: <20090623090708.GA12383@axis.com> (raw)
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
reply other threads:[~2009-06-23 9:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090623090708.GA12383@axis.com \
--to=jesper.nilsson@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=tabbott@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.