lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20071025125210.5417.83795.sendpatchset@balbir-laptop>
Date:	Thu, 25 Oct 2007 18:22:10 +0530
From:	Balbir Singh <balbir@...ux.vnet.ibm.com>
To:	Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>
Cc:	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [x86 patch] Fix UML signal.c build error



Signed-off-by: Balbir Singh <balbir@...ux.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ