Hello.
Attached patch moves the three
interrupt-related constants, namely
SA_PROBE, SA_SAMPLE_RANDOM and
SA_SHIRQ, from the arch-specific
headers to the generic header
linux/signal.h. Now, as the interrupt
handling code was recently consolidated,
it looks likely that the related flags
have to be either.
This is mainly only a cleanup, but
it also makes a common place for
adding the new arch-independant flags
for interrupt handling.
For my drivers I just used to add such
a flags into an i386-specific header
since the drivers were intended to work
only on that hardware. But now, as the
interrupt handling code in kernel was
consolidated, adding such a flags to the
arch-specific header breaks the compilation
for other archs, so I thought having a
common place for that arch-independant
flags would be good.
The problem with that patch is that
I can't test it on something other
than x86. But it may work as expected.
Signed-off-by: Stas Sergeev <[email protected]>