Lines 42-51
Link Here
|
42 |
#define DRM_IRQ_ARGS int irq, void *arg, struct pt_regs *regs |
42 |
#define DRM_IRQ_ARGS int irq, void *arg, struct pt_regs *regs |
43 |
/** backwards compatibility with old irq return values */ |
43 |
/** backwards compatibility with old irq return values */ |
44 |
#ifndef IRQ_HANDLED |
44 |
#ifndef IRQ_HANDLED |
|
|
45 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) |
45 |
typedef void irqreturn_t; |
46 |
typedef void irqreturn_t; |
46 |
#define IRQ_HANDLED /* nothing */ |
47 |
#define IRQ_HANDLED /* nothing */ |
47 |
#define IRQ_NONE /* nothing */ |
48 |
#define IRQ_NONE /* nothing */ |
48 |
#endif |
49 |
#endif |
|
|
50 |
#endif |
49 |
|
51 |
|
50 |
/** AGP types */ |
52 |
/** AGP types */ |
51 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,70) |
53 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,70) |