From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [x86 patch] Fix UML signal.c build error
Date: Thu, 25 Oct 2007 18:22:10 +0530 [thread overview]
Message-ID: <20071025125210.5417.83795.sendpatchset@balbir-laptop> (raw)
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
---
include/asm-x86/sigcontext.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN include/asm-x86/sigcontext.h~uml-fix-sigcontext-build-error include/asm-x86/sigcontext.h
--- 2.6.24-rc1/include/asm-x86/sigcontext.h~uml-fix-sigcontext-build-error 2007-10-25 17:21:34.000000000 +0530
+++ 2.6.24-rc1-balbir/include/asm-x86/sigcontext.h 2007-10-25 17:22:09.000000000 +0530
@@ -4,7 +4,7 @@
#include <linux/compiler.h>
#include <asm/types.h>
-#ifdef __i386__
+#if BITS_PER_LONG == 32
/*
* As documented in the iBCS2 standard..
*
@@ -83,7 +83,7 @@ struct sigcontext {
unsigned long cr2;
};
-#else /* __i386__ */
+#else /* BITS_PER_LONG == 32 */
/* FXSAVE frame */
/* Note: reserved1/2 may someday contain valuable data. Always save/restore
@@ -133,6 +133,6 @@ struct sigcontext {
unsigned long reserved1[8];
};
-#endif /* !__i386__ */
+#endif /* !BITS_PER_LONG == 32 */
#endif
_
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
reply other threads:[~2007-10-25 12:52 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=20071025125210.5417.83795.sendpatchset@balbir-laptop \
--to=balbir@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®