projects/linux·blob master · refs

13 lines · 387 B

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)
6void irq_proc_calc_prec(void);
7void irq_proc_update_chip(const struct irq_chip *chip);
8#else
9static inline void irq_proc_calc_prec(void) { }
10static inline void irq_proc_update_chip(const struct irq_chip *chip) { }
11#endif
12
13#endif