diff options
Diffstat (limited to 'arch/arc/kernel/mcip.c')
-rw-r--r-- | arch/arc/kernel/mcip.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index c41c364b926c..72f9179b1a24 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c | |||
@@ -15,9 +15,6 @@ | |||
15 | #include <asm/mcip.h> | 15 | #include <asm/mcip.h> |
16 | #include <asm/setup.h> | 16 | #include <asm/setup.h> |
17 | 17 | ||
18 | #define IPI_IRQ 19 | ||
19 | #define SOFTIRQ_IRQ 21 | ||
20 | |||
21 | static char smp_cpuinfo_buf[128]; | 18 | static char smp_cpuinfo_buf[128]; |
22 | static int idu_detected; | 19 | static int idu_detected; |
23 | 20 | ||
@@ -116,15 +113,13 @@ static void mcip_probe_n_setup(void) | |||
116 | IS_AVAIL1(mp.dbg, "DEBUG "), | 113 | IS_AVAIL1(mp.dbg, "DEBUG "), |
117 | IS_AVAIL1(mp.gfrc, "GFRC")); | 114 | IS_AVAIL1(mp.gfrc, "GFRC")); |
118 | 115 | ||
116 | cpuinfo_arc700[0].extn.gfrc = mp.gfrc; | ||
119 | idu_detected = mp.idu; | 117 | idu_detected = mp.idu; |
120 | 118 | ||
121 | if (mp.dbg) { | 119 | if (mp.dbg) { |
122 | __mcip_cmd_data(CMD_DEBUG_SET_SELECT, 0, 0xf); | 120 | __mcip_cmd_data(CMD_DEBUG_SET_SELECT, 0, 0xf); |
123 | __mcip_cmd_data(CMD_DEBUG_SET_MASK, 0xf, 0xf); | 121 | __mcip_cmd_data(CMD_DEBUG_SET_MASK, 0xf, 0xf); |
124 | } | 122 | } |
125 | |||
126 | if (IS_ENABLED(CONFIG_ARC_HAS_GFRC) && !mp.gfrc) | ||
127 | panic("kernel trying to use non-existent GFRC\n"); | ||
128 | } | 123 | } |
129 | 124 | ||
130 | struct plat_smp_ops plat_smp_ops = { | 125 | struct plat_smp_ops plat_smp_ops = { |