Stafford Horne 136a2d8941 openrisc: Include cpu.h and switch_to.h for prototypes
When compiling with W=1 enabling -Wmissing-prototypes the compiler
warns:

  arch/openrisc/kernel/process.c💯6: error: no previous prototype for 'arch_cpu_idle' [-Werror=missing-prototypes]
  arch/openrisc/kernel/process.c:240:21: error: no previous prototype for '__switch_to' [-Werror=missing-prototypes]

Fix these by adding the approrpiate header files to process.c which
brings in the prototype definitions.

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
..
2023-06-28 20:35:21 -07:00
2023-07-06 10:06:04 -07:00
2023-08-02 18:21:12 -07:00
2023-07-01 21:12:32 -07:00
2023-06-28 20:35:21 -07:00
2023-07-24 14:50:02 +02:00
2023-06-29 16:34:12 -07:00
2023-06-29 16:34:12 -07:00
2023-08-05 13:16:17 -07:00
2023-08-04 16:04:37 -07:00
2023-08-03 09:06:38 -07:00
2023-08-04 17:16:14 -07:00