public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] fix for typo
@ 2001-08-17 17:22 David Mosberger
  0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2001-08-17 17:22 UTC (permalink / raw)
  To: linux-ia64

Here is a fix for a small typo.  The kernel is not affected by it and
I'm not aware of any applications that are affected either.  In fact,
if you have any application that's using those flags directly, we need
to talk: there should be an API through which sigcontext is accessed
(no app should ever access sigcontext directly on IA-64).  But still,
the typo is a bug that needs to be fixed.  Thanks to Tony Luck for
noticing this.

	--david

--- include/asm-ia64/sigcontext.h~	Mon Aug 13 11:39:03 2001
+++ include/asm-ia64/sigcontext.h	Thu Aug 16 11:04:37 2001
@@ -2,13 +2,13 @@
 #define _ASM_IA64_SIGCONTEXT_H
 
 /*
- * Copyright (C) 1998, 1999 Hewlett-Packard Co
- * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co
+ * Copyright (C) 1998, 1999, 2001 David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
 #include <asm/fpu.h>
 
-#define IA64_SC_FLAG_ONSTACK_BIT		1	/* is handler running on signal stack? */
+#define IA64_SC_FLAG_ONSTACK_BIT		0	/* is handler running on signal stack? */
 #define IA64_SC_FLAG_IN_SYSCALL_BIT		1	/* did signal interrupt a syscall? */
 #define IA64_SC_FLAG_FPH_VALID_BIT		2	/* is state in f[32]-f[127] valid? */
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-17 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-17 17:22 [Linux-ia64] fix for typo David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox