We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4c447 commit 9808357Copy full SHA for 9808357
drivers/irqchip/irq-bcm7038-l1.c
@@ -330,7 +330,11 @@ static int bcm7038_l1_suspend(void)
330
u32 val;
331
332
/* Wakeup interrupt should only come from the boot cpu */
333
+#ifdef CONFIG_SMP
334
boot_cpu = cpu_logical_map(0);
335
+#else
336
+ boot_cpu = 0;
337
+#endif
338
339
list_for_each_entry(intc, &bcm7038_l1_intcs_list, list) {
340
for (word = 0; word < intc->n_words; word++) {
@@ -350,7 +354,11 @@ static void bcm7038_l1_resume(void)
350
354
struct bcm7038_l1_chip *intc;
351
355
int boot_cpu, word;
352
356
357
353
358
359
360
361
362
363
364
0 commit comments