diff options
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index e7c69a720d69..daf46358d2dd 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -797,3 +797,23 @@ int on_each_cpu(void (*func) (void *info), void *info, int wait) | |||
797 | } | 797 | } |
798 | EXPORT_SYMBOL(on_each_cpu); | 798 | EXPORT_SYMBOL(on_each_cpu); |
799 | #endif | 799 | #endif |
800 | |||
801 | /* | ||
802 | * [ These __weak aliases are kept in a separate compilation unit, so that | ||
803 | * GCC does not inline them incorrectly. ] | ||
804 | */ | ||
805 | |||
806 | int __init __weak early_irq_init(void) | ||
807 | { | ||
808 | return 0; | ||
809 | } | ||
810 | |||
811 | int __init __weak arch_early_irq_init(void) | ||
812 | { | ||
813 | return 0; | ||
814 | } | ||
815 | |||
816 | int __weak arch_init_chip_data(struct irq_desc *desc, int cpu) | ||
817 | { | ||
818 | return 0; | ||
819 | } | ||