linux/arch/openrisc/kernel
Stafford Horne 31c67b5fab openrisc: Add prototype for die to bug.h
When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:

  arch/openrisc/kernel/traps.c:221:17: sing-prototypesrror: no previous prototype for 'die' [-Werror=missing-prototypes]

Fix by adding the prototype to the appropriate header file and including
the header file in the appropriate C files.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Closes: https://lore.kernel.org/linux-kernel/20230810141947.1236730-17-arnd@kernel.org/
Signed-off-by: Stafford Horne <shorne@gmail.com>
2023-08-21 08:15:25 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
asm-offsets.c sched,arch: Remove unused TASK_STATE offsets 2021-06-18 11:43:09 +02:00
dma.c openrisc: Fix pagewalk usage in arch_dma_{clear, set}_uncached 2022-10-08 06:11:29 +01:00
entry.S openrisc: Support floating point user api 2023-04-26 15:08:06 +01:00
head.S openrisc: Support floating point user api 2023-04-26 15:08:06 +01:00
irq.c irq: openrisc: perform irqentry in entry code 2021-10-26 10:13:28 +01:00
Makefile kbuild: use obj-y instead extra-y for objects placed at the head 2022-10-02 18:04:05 +09:00
module.c
or32_ksyms.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
process.c openrisc: Add prototype for show_registers to processor.h 2023-08-21 08:15:18 +01:00
prom.c
ptrace.c openrisc: Add missing prototypes for assembly called fnctions 2023-08-21 08:11:54 +01:00
setup.c openrisc: Use common of_get_cpu_node() instead of open-coding 2023-04-01 06:40:27 +01:00
signal.c openrisc: Declare do_signal function as static 2023-08-21 08:12:11 +01:00
smp.c openrisc: Add missing prototypes for assembly called fnctions 2023-08-21 08:11:54 +01:00
stacktrace.c openrisc: Fix oops caused when dumping stack 2020-08-04 10:59:45 +09:00
sync-timer.c
sys_call_table.c
time.c openrisc: Add missing prototypes for assembly called fnctions 2023-08-21 08:11:54 +01:00
traps.c openrisc: Add prototype for die to bug.h 2023-08-21 08:15:25 +01:00
unwinder.c openrisc: unwinder: Fix grammar issue in comment 2022-06-28 17:31:24 +09:00
vmlinux.h
vmlinux.lds.S objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00