diff options
Diffstat (limited to 'include/asm-powerpc/irq.h')
| -rw-r--r-- | include/asm-powerpc/irq.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-powerpc/irq.h b/include/asm-powerpc/irq.h index 51f87d9993b6..7bc6d73b2823 100644 --- a/include/asm-powerpc/irq.h +++ b/include/asm-powerpc/irq.h | |||
| @@ -54,6 +54,13 @@ | |||
| 54 | */ | 54 | */ |
| 55 | extern unsigned int virt_irq_to_real_map[NR_IRQS]; | 55 | extern unsigned int virt_irq_to_real_map[NR_IRQS]; |
| 56 | 56 | ||
| 57 | /* The maximum virtual IRQ number that we support. This | ||
| 58 | * can be set by the platform and will be reduced by the | ||
| 59 | * value of __irq_offset_value. It defaults to and is | ||
| 60 | * capped by (NR_IRQS - 1). | ||
| 61 | */ | ||
| 62 | extern unsigned int virt_irq_max; | ||
| 63 | |||
| 57 | /* Create a mapping for a real_irq if it doesn't already exist. | 64 | /* Create a mapping for a real_irq if it doesn't already exist. |
| 58 | * Return the virtual irq as a convenience. | 65 | * Return the virtual irq as a convenience. |
| 59 | */ | 66 | */ |
