[patch] consolidate interrupt-related constants

From: Stas Sergeev (stsp_at_aknet.ru)
Date: 03/09/05

  • Next message: Jeff Garzik: "[BK PATCHES] 2.6.x net driver oops fixes"
    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/



  • Next message: Jeff Garzik: "[BK PATCHES] 2.6.x net driver oops fixes"

    Relevant Pages

    • [S390] cio: update documentation.
      ... -Prior to call ccw_device_startthe device driver must assure disabled state, ... -by calling local_save_flags(flags). ... -environment an interrupt might be presented prior to the ccw_device_start ... +ccw_device_startmust be called disabled and with the ccw device lock held. ...
      (Linux-Kernel)
    • [PATCH 11/17] Fix IRQ flag handling naming
      ... +static inline bool arch_irqs_disabled ... Save the current interrupt enable state & disable IRQs ... This will restore ALL status register flags, ...
      (Linux-Kernel)
    • Re: 89C51ED2
      ... interrupt code that overlays one of his variables. ... routines set flags and the background processes flags, ...
      (sci.electronics.design)
    • Re: [PATCH] serial: 8250: add IRQ trigger support
      ... serial IRQs with triggering requirements ... Note that this patch doesn't allow the interrupt to trigger on both ... the irqflags the flags field. ...
      (Linux-Kernel)
    • Re: 89C51ED2
      ... Flags perhaps? ... Anyway PL/M handles all that for one. ... Declare procedure interrupt! ... doing the same thing or calling functions with in that block that are also ...
      (sci.electronics.design)