2005-04-01 12:38:12

by Stas Sergeev

[permalink] [raw]
Subject: [patch] move SA_xxx defines to linux/signal.h

Hi Andrew.

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.

Can this please be applied?
Unfortunately I have tested it on x86 only.

Signed-off-by: Stas Sergeev <[email protected]>


Attachments:
linux-2.6.12-rc1-hdr.diff (19.06 kB)