Michael Ellerman
171468044b
powerpc: Fix build error due to is_valid_bugaddr()
...
[ Upstream commit f8d3555355653848082c351fa90775214fb8a4fa ]
With CONFIG_GENERIC_BUG=n the build fails with:
arch/powerpc/kernel/traps.c:1442:5: error: no previous prototype for ‘is_valid_bugaddr’ [-Werror=missing-prototypes]
1442 | int is_valid_bugaddr(unsigned long addr)
| ^~~~~~~~~~~~~~~~
The prototype is only defined, and the function is only needed, when
CONFIG_GENERIC_BUG=y, so move the implementation under that.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231130114433.3053544-2-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:24:53 +01:00
..
2019-07-29 09:34:27 +10:00
2023-12-20 15:41:26 +01:00
2019-12-17 19:56:47 +01:00
2019-12-17 19:56:47 +01:00
2019-09-14 00:04:41 +10:00
2019-07-31 00:19:34 +10:00
2021-03-17 17:03:43 +01:00
2022-01-27 09:19:47 +01:00
2019-07-13 16:08:36 -07:00
2019-06-15 16:52:06 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2020-09-03 11:26:39 +02:00
2019-05-30 11:26:32 -07:00
2020-03-12 13:00:31 +01:00
2019-06-19 17:09:06 +02:00
2019-06-19 17:09:06 +02:00
2019-07-03 15:19:35 +10:00
2019-09-24 12:46:26 +10:00
2020-09-23 12:40:46 +02:00
2019-02-18 22:41:03 +11:00
2019-05-30 11:26:32 -07:00
2020-06-22 09:31:23 +02:00
2019-05-03 01:20:26 +10:00
2020-11-18 19:20:18 +01:00
2019-08-22 23:12:46 +10:00
2023-03-11 16:43:52 +01:00
2019-09-14 00:01:14 +10:00
2019-09-05 14:22:37 +10:00
2019-02-05 11:55:43 +11:00
2021-05-11 14:04:15 +02:00
2021-03-04 10:26:49 +01:00
2019-11-29 10:10:31 +01:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:30:28 +02:00
2019-08-27 13:03:36 +10:00
2020-11-22 10:14:10 +01:00
2023-09-23 10:59:47 +02:00
2019-05-30 11:26:32 -07:00
2023-12-08 08:44:26 +01:00
2021-03-04 10:26:33 +01:00
2019-08-27 13:03:36 +10:00
2023-09-23 10:59:40 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-12-30 11:51:17 +01:00
2019-06-16 00:03:38 +10:00
2020-01-26 10:00:59 +01:00
2023-10-10 21:46:40 +02:00
2022-06-22 14:11:24 +02:00
2019-05-30 11:26:32 -07:00
2021-10-27 09:54:28 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-06-14 18:11:41 +02:00
2019-05-30 11:26:32 -07:00
2019-08-27 13:03:34 +10:00
2019-05-30 11:26:32 -07:00
2018-04-05 14:59:26 +10:00
2023-09-23 10:59:48 +02:00
2019-12-31 16:46:29 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-09-06 23:58:43 +02:00
2019-02-23 22:31:40 +11:00
2019-05-30 11:26:35 -07:00
2021-08-18 08:57:01 +02:00
2019-09-14 00:04:40 +10:00
2022-04-15 14:18:01 +02:00
2022-06-22 14:11:24 +02:00
2018-12-22 21:29:50 +11:00
2019-06-19 17:09:06 +02:00
2019-08-30 09:55:40 +10:00
2019-06-05 17:36:37 +02:00
2022-04-15 14:18:32 +02:00
2022-02-01 17:24:36 +01:00
2019-09-19 21:24:59 +10:00
2019-08-30 10:32:35 +10:00
2020-03-12 13:00:25 +01:00
2020-03-12 13:00:25 +01:00
2019-05-30 11:26:32 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-05-30 11:26:35 -07:00
2017-12-11 13:03:35 +11:00
2019-05-30 11:26:32 -07:00
2019-08-30 09:40:15 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-12-30 11:51:09 +01:00
2019-08-22 23:11:48 +10:00
2019-08-22 23:11:48 +10:00
2022-10-26 13:22:44 +02:00
2019-08-29 20:24:05 +10:00
2022-08-25 11:18:29 +02:00
2019-09-05 14:22:37 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2022-06-29 08:58:48 +02:00
2022-07-07 17:36:48 +02:00
2022-01-27 09:19:38 +01:00
2022-08-25 11:18:38 +02:00
2022-06-14 18:12:03 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2023-08-30 16:27:15 +02:00
2019-05-30 11:26:35 -07:00
2018-06-07 10:23:33 -07:00
2018-06-03 20:43:33 +10:00
2023-05-17 11:35:50 +02:00
2019-05-30 11:26:32 -07:00
2021-11-17 09:48:49 +01:00
2019-08-28 23:19:33 +10:00
2020-12-30 11:51:09 +01:00
2020-12-30 11:51:04 +01:00
2020-12-30 11:51:09 +01:00
2020-02-28 17:22:17 +01:00
2020-04-17 10:50:22 +02:00
2020-02-28 17:22:17 +01:00
2018-05-10 23:25:13 +10:00
2022-01-27 09:19:48 +01:00
2021-09-22 12:26:23 +02:00
2019-06-14 10:48:56 +02:00
2022-06-22 14:11:24 +02:00
2019-06-19 17:11:22 +02:00
2022-06-22 14:11:24 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-11-05 11:43:31 +01:00
2019-05-30 11:26:32 -07:00
2022-09-15 12:04:51 +02:00
2020-10-29 09:57:49 +01:00
2020-04-29 16:33:01 +02:00
2019-07-02 21:39:49 +10:00
2024-02-23 08:24:53 +01:00
2019-08-30 09:40:15 +10:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2020-08-19 08:16:12 +02:00
2018-05-25 12:04:46 +10:00
2023-12-08 08:44:26 +01:00
2023-03-17 08:32:53 +01:00
2022-01-27 09:19:47 +01:00