diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 216b0ba109d7..fdf2c4a238cc 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -10,9 +10,6 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/smp.h> | 12 | #include <linux/smp.h> |
13 | |||
14 | #ifndef CONFIG_S390 | ||
15 | |||
16 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
17 | #include <linux/cache.h> | 14 | #include <linux/cache.h> |
18 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
@@ -392,6 +389,15 @@ static inline void irq_move_masked_irq(struct irq_data *data) { } | |||
392 | 389 | ||
393 | extern int no_irq_affinity; | 390 | extern int no_irq_affinity; |
394 | 391 | ||
392 | #ifdef CONFIG_HARDIRQS_SW_RESEND | ||
393 | int irq_set_parent(int irq, int parent_irq); | ||
394 | #else | ||
395 | static inline int irq_set_parent(int irq, int parent_irq) | ||
396 | { | ||
397 | return 0; | ||
398 | } | ||
399 | #endif | ||
400 | |||
395 | /* | 401 | /* |
396 | * Built-in IRQ handlers for various IRQ types, | 402 | * Built-in IRQ handlers for various IRQ types, |
397 | * callable via desc->handle_irq() | 403 | * callable via desc->handle_irq() |
@@ -737,8 +743,11 @@ static inline void irq_gc_lock(struct irq_chip_generic *gc) { } | |||
737 | static inline void irq_gc_unlock(struct irq_chip_generic *gc) { } | 743 | static inline void irq_gc_unlock(struct irq_chip_generic *gc) { } |
738 | #endif | 744 | #endif |
739 | 745 | ||
740 | #endif /* CONFIG_GENERIC_HARDIRQS */ | 746 | #else /* !CONFIG_GENERIC_HARDIRQS */ |
741 | 747 | ||
742 | #endif /* !CONFIG_S390 */ | 748 | extern struct msi_desc *irq_get_msi_desc(unsigned int irq); |
749 | extern int irq_set_msi_desc(unsigned int irq, struct msi_desc *entry); | ||
750 | |||
751 | #endif /* CONFIG_GENERIC_HARDIRQS */ | ||
743 | 752 | ||
744 | #endif /* _LINUX_IRQ_H */ | 753 | #endif /* _LINUX_IRQ_H */ |