[patch] consolidate interrupt-related constants
From: Stas Sergeev (stsp_at_aknet.ru)
Date: 03/09/05
- Previous message: Michal Vanco: "Re: 2.6.11 on AMD64 traps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Mar 2005 23:25:05 +0300 To: Linux kernel <linux-kernel@vger.kernel.org>
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 <stsp@aknet.ru>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- text/x-patch attachment: linux-2.6.11-hdr.diff
- Previous message: Michal Vanco: "Re: 2.6.11 on AMD64 traps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|