Jackie Liu
c388a18957
watchdog/sb_watchdog: fix compilation problem due to COMPILE_TEST
...
Compiling sb_watchdog needs to clearly define SIBYTE_HDR_FEATURES.
In arch/mips/sibyte/Platform like:
cflags-$(CONFIG_SIBYTE_BCM112X) += \
-I$(srctree)/arch/mips/include/asm/mach-sibyte \
-DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL
Otherwise, SIBYTE_HDR_FEATURES is SIBYTE_HDR_FMASK_ALL.
SIBYTE_HDR_FMASK_ALL is mean:
#define SIBYTE_HDR_FMASK_ALL SIBYTE_HDR_FMASK_1250_ALL | SIBYTE_HDR_FMASK_112x_ALL \
| SIBYTE_HDR_FMASK_1480_ALL)
So, If not limited to CPU_SB1, we will get such an error:
arch/mips/include/asm/sibyte/bcm1480_scd.h:261: error: "M_SPC_CFG_CLEAR" redefined [-Werror]
arch/mips/include/asm/sibyte/bcm1480_scd.h:262: error: "M_SPC_CFG_ENABLE" redefined [-Werror]
Fixes: da2a68b3eb47 ("watchdog: Enable COMPILE_TEST where possible")
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-27 11:57:19 -07:00
..
2019-10-23 17:23:46 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2020-05-25 08:55:46 +02:00
2021-04-09 14:54:23 -07:00
2019-05-21 11:28:40 +02:00
2021-06-21 08:49:04 +02:00
2019-10-23 17:23:46 +02:00
2019-05-05 21:02:12 +02:00
2020-01-27 15:55:44 +01:00
2020-08-05 18:42:53 +02:00
2018-03-24 10:19:40 +01:00
2020-01-06 09:45:59 +01:00
2021-08-22 10:28:08 +02:00
2021-06-21 08:49:09 +02:00
2020-08-05 18:42:46 +02:00
2021-03-10 10:58:44 +00:00
2021-06-21 08:49:09 +02:00
2020-10-14 15:02:24 +02:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2019-07-08 15:13:04 +02:00
2019-05-05 21:02:16 +02:00
2020-05-25 08:55:44 +02:00
2020-05-25 08:55:43 +02:00
2020-10-14 15:02:25 +02:00
2021-06-21 08:49:14 +02:00
2019-07-15 08:49:11 +02:00
2021-06-21 08:48:59 +02:00
2019-07-08 20:35:11 +02:00
2019-05-05 21:02:19 +02:00
2021-06-21 08:49:09 +02:00
2020-08-05 18:42:53 +02:00
2019-07-08 15:13:06 +02:00
2020-08-05 18:42:53 +02:00
2020-12-13 16:17:41 +01:00
2019-07-08 19:39:44 +02:00
2021-06-21 08:49:00 +02:00
2019-07-08 15:13:06 +02:00
2020-08-05 18:42:53 +02:00
2019-10-23 17:23:46 +02:00
2019-07-08 20:46:48 +02:00
2019-06-19 17:09:55 +02:00
2021-08-22 10:28:08 +02:00
2020-10-14 15:02:26 +02:00
2021-06-21 08:49:14 +02:00
2019-10-23 17:23:46 +02:00
2021-01-25 20:05:32 +02:00
2019-10-23 17:23:46 +02:00
2021-06-21 08:49:04 +02:00
2021-02-07 14:41:18 +01:00
2020-03-10 10:20:27 +01:00
2020-03-10 10:20:27 +01:00
2021-08-22 10:28:09 +02:00
2021-08-22 10:28:12 +02:00
2021-06-21 08:49:11 +02:00
2021-09-27 11:57:19 -07:00
2021-06-21 08:48:57 +02:00
2019-06-05 17:36:38 +02:00
2019-06-19 17:09:55 +02:00
2019-07-08 15:13:08 +02:00
2021-06-21 08:49:03 +02:00
2020-08-05 18:42:53 +02:00
2021-05-17 18:56:23 -05:00
2021-08-22 10:28:06 +02:00
2021-08-22 10:28:11 +02:00
2019-07-08 15:13:09 +02:00
2021-06-22 12:40:31 +02:00
2019-07-08 15:13:09 +02:00
2019-07-08 15:13:10 +02:00
2019-11-03 19:54:53 +01:00
2019-11-05 16:58:12 +01:00
2021-06-21 08:49:05 +02:00
2019-10-23 17:23:46 +02:00
2020-08-05 18:42:45 +02:00
2019-05-05 21:02:24 +02:00
2021-08-22 10:28:10 +02:00
2021-06-21 08:49:19 +02:00
2019-06-19 17:09:55 +02:00
2021-08-22 10:28:11 +02:00
2021-06-21 08:48:58 +02:00
2019-07-08 15:13:10 +02:00
2019-07-08 15:13:11 +02:00
2021-04-09 14:11:24 +09:30
2020-08-05 18:43:01 +02:00
2020-08-05 18:43:01 +02:00
2021-07-07 12:57:46 -07:00
2017-09-04 21:19:03 +02:00
2021-06-21 08:49:08 +02:00
2020-05-25 08:55:46 +02:00
2019-07-08 20:35:11 +02:00
2021-06-21 08:49:12 +02:00
2021-06-21 08:49:09 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:22 +02:00
2021-01-26 07:42:27 +01:00
2019-07-08 15:13:12 +02:00
2019-07-08 15:13:12 +02:00
2019-10-23 17:23:46 +02:00
2020-03-18 11:10:09 +01:00
2019-09-16 22:10:05 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-06-21 08:49:12 +02:00
2019-07-08 15:13:14 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:21 +02:00
2021-02-07 14:41:22 +01:00
2021-03-23 15:22:40 +01:00
2021-03-17 13:16:18 -07:00
2019-12-30 15:58:29 +01:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:10:34 +02:00
2020-12-13 16:17:40 +01:00
2019-05-05 21:02:27 +02:00
2019-07-08 15:13:14 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:49:16 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:48:59 +02:00
2020-08-05 18:42:53 +02:00
2019-07-08 20:35:11 +02:00
2019-10-23 17:23:46 +02:00
2020-12-13 16:17:41 +01:00
2021-06-21 08:48:58 +02:00
2021-06-21 08:49:02 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:54 +02:00
2019-05-30 11:26:32 -07:00
2021-08-22 10:28:09 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:43:02 +02:00
2021-06-21 08:49:01 +02:00
2020-10-14 15:22:57 +02:00
2020-10-14 15:22:57 +02:00
2020-12-13 16:17:39 +01:00
2019-07-08 15:13:16 +02:00
2020-12-13 16:17:39 +01:00
2019-07-08 15:13:17 +02:00
2019-05-05 21:02:29 +02:00
2019-05-30 11:26:32 -07:00
2020-08-05 18:42:46 +02:00
2019-07-08 15:13:17 +02:00
2021-08-22 10:28:10 +02:00
2019-05-05 21:02:32 +02:00
2019-07-08 15:13:17 +02:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:02:32 +02:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2020-10-14 15:22:58 +02:00
2019-12-30 15:58:23 +01:00
2021-06-21 08:49:03 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-08-22 10:28:08 +02:00
2021-06-21 08:49:13 +02:00
2021-08-22 10:28:12 +02:00
2021-06-21 08:49:13 +02:00
2021-06-21 08:49:13 +02:00
2017-11-02 11:10:55 +01:00
2019-07-08 20:35:11 +02:00
2021-06-21 08:49:09 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:49:09 +02:00
2021-06-21 08:49:09 +02:00
2020-03-18 11:15:24 +01:00
2018-03-24 10:19:40 +01:00
2019-07-08 15:13:18 +02:00
2021-06-21 08:49:15 +02:00