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