Ignore:
Timestamp:
Jun 6, 2009, 4:22:27 AM (16 years ago)
Author:
Paul Smedley
Message:

Move functions out of config.h into appropriate linux header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/linux/interrupt.h

    r438 r441  
    2626#define IRQ_HANDLED     (1)
    2727#define IRQ_RETVAL(x)   ((x) != 0)
     28
     29#include <linux/signal.h>
     30#define IRQF_SHARED                     SA_SHIRQ
     31#define IRQF_DISABLED                   SA_INTERRUPT
     32#define IRQF_SAMPLE_RANDOM              SA_SAMPLE_RANDOM
     33#define IRQF_PERCPU                     SA_PERCPU
     34#ifdef SA_PROBEIRQ
     35#define IRQF_PROBE_SHARED               SA_PROBEIRQ
     36#else
     37#define IRQF_PROBE_SHARED               0 /* dummy */
     38#endif
    2839
    2940struct irqaction {
     
    132143extern int probe_irq_off(unsigned long);        /* returns 0 or negative on failure */
    133144
     145typedef irqreturn_t (*snd_irq_handler_t)(int, void *);
     146#define irq_handler_t snd_irq_handler_t
     147#undef irq_handler_t
     148#define irq_handler_t snd_irq_handler_t
     149
     150int request_irq(unsigned int, irq_handler_t handler,
     151                    unsigned long, const char *, void *);
     152
    134153#endif
Note: See TracChangeset for help on using the changeset viewer.