Files
Sasha Levin 4169c9c905 powerpc/irq: Fix build with CONFIG_PROC_FS=n
Commit fbb22ceaaf ("powerpc/irq: Make irqstats array based") made
arch_show_interrupts() call irq_proc_emit_counts(). That function lives
in kernel/irq/proc.c, which is only built with CONFIG_PROC_FS, so
kernels without procfs no longer link:

  powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
  arch/powerpc/kernel/irq.c:134:(.text+0x4b8c): undefined reference to `irq_proc_emit_counts'

arch_show_interrupts() is only called from irq_seq_show(), which is in
kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86
already does.

Fixes: fbb22ceaaf ("powerpc/irq: Make irqstats array based")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609271531.8kf2NTjK-lkp@intel.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-10-23 13:49:34 -10:00
..
2026-09-25 10:16:10 +05:30
2026-08-06 11:00:55 +05:30
2025-07-26 13:07:52 +05:30
2024-06-28 22:28:47 +10:00
2022-09-26 23:00:14 +10:00
…
2026-04-01 09:21:06 +05:30
2021-12-09 22:41:21 +11:00
2024-10-29 23:01:52 +11:00
…
…
2023-10-10 13:35:55 -06:00
2026-08-06 11:00:55 +05:30
…
2022-09-26 22:47:37 +10:00
…
2026-09-25 10:16:10 +05:30
2024-10-29 23:01:52 +11:00
2025-02-26 21:15:09 +05:30
2021-12-09 22:41:21 +11:00