xref: /linux/kernel/irq/proc.h (revision c35eb77a67515d4201bc91294f40761591f43bbd)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _KERNEL_IRQ_PROC_H
3 #define _KERNEL_IRQ_PROC_H
4 
5 #if defined(CONFIG_PROC_FS) && defined(CONFIG_GENERIC_IRQ_SHOW)
6 void irq_proc_calc_prec(void);
7 void irq_proc_update_chip(const struct irq_chip *chip);
8 #else
9 static inline void irq_proc_calc_prec(void) { }
10 static inline void irq_proc_update_chip(const struct irq_chip *chip) { }
11 #endif
12 
13 #endif
14