Skip to contentSkip to conversation

fix for typo

Linux-ia64 David Mosberger 1 participant 1 message Aug 17, 2001

lore
Share & tools
lore
#0 lore raw

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
asm-ia64/sigcontext.h renamed from asm-ia64/sigcontext.h~ +3 -3
@@ -2,13 +2,13 @@
 #define _ASM_IA64_SIGCONTEXT_H
 
 /*
- * Copyright (C) 1998, 1999 Hewlett-Packard Co
- * Copyright (C) 1998, 1999 David Mosberger-Tang <[email protected]>
+ * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co
+ * Copyright (C) 1998, 1999, 2001 David Mosberger-Tang <[email protected]>
  */
 
 #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? */