diff options
author | Stas Sergeev <stsp@aknet.ru> | 2005-05-01 11:59:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:02 -0400 |
commit | 7f261b5f0dccd53ed3a9a95b55c36e24a698a92a (patch) | |
tree | c6f94657e1f50e59168184758ba2859d2ad5abc9 /include/asm-parisc/signal.h | |
parent | d59745ce3e7aa13856bca16d3bcbb95041775ff6 (diff) |
[PATCH] move SA_xxx defines to linux/signal.h
The attached patch moves the IRQ-related SA_xxx flags (namely, SA_PROBE,
SA_SAMPLE_RANDOM and SA_SHIRQ) from all the arch-specific headers to
linux/signal.h. This looks like a left-over after the irq-handling code
was consolidated. The code was moved to kernel/irq/*, but the flags are
still left per-arch.
Right now, adding a new IRQ flag to the arch-specific header, like this
patch does:
http://cvs.sourceforge.net/viewcvs.py/*checkout*/alsa/alsa-driver/utils/patches/pcsp-kernel-2.6.10-03.diff?rev=1.1
no longer works, it breaks the compilation for all other arches, unless you
add that flag to all the other arch-specific headers too. So I think such
a clean-up makes sense.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-parisc/signal.h')
-rw-r--r-- | include/asm-parisc/signal.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-parisc/signal.h b/include/asm-parisc/signal.h index 358f577c8eb8..25cb23ef7dd1 100644 --- a/include/asm-parisc/signal.h +++ b/include/asm-parisc/signal.h | |||
@@ -89,17 +89,6 @@ | |||
89 | #define _NSIG_BPW BITS_PER_LONG | 89 | #define _NSIG_BPW BITS_PER_LONG |
90 | #define _NSIG_WORDS (_NSIG / _NSIG_BPW) | 90 | #define _NSIG_WORDS (_NSIG / _NSIG_BPW) |
91 | 91 | ||
92 | /* | ||
93 | * These values of sa_flags are used only by the kernel as part of the | ||
94 | * irq handling routines. | ||
95 | * | ||
96 | * SA_INTERRUPT is also used by the irq handling routines. | ||
97 | * SA_SHIRQ is for shared interrupt support on PCI and EISA. | ||
98 | */ | ||
99 | #define SA_PROBE SA_ONESHOT | ||
100 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
101 | #define SA_SHIRQ 0x04000000 | ||
102 | |||
103 | #endif /* __KERNEL__ */ | 92 | #endif /* __KERNEL__ */ |
104 | 93 | ||
105 | #define SIG_BLOCK 0 /* for blocking signals */ | 94 | #define SIG_BLOCK 0 /* for blocking signals */ |