Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: alchemy: cpu_all_mask is forbidden for clock event devices

change alchemy clock event device cpu_all_mask to cpu_possible_mask.
Gets rid of a warning, which then does the same substitution:
WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:468 clockevents_register_device+0x130/0x140
rtcmatch2 cpumask == cpu_all_mask, using cpu_possible_mask instead

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Linux-MIPS <linux-mips@vger.kernel.org>

authored by

Manuel Lauss and committed by
Paul Burton
bbb8a752 8a38dacf

+1 -1
+1 -1
arch/mips/alchemy/common/time.c
··· 81 81 .features = CLOCK_EVT_FEAT_ONESHOT, 82 82 .rating = 1500, 83 83 .set_next_event = au1x_rtcmatch2_set_next_event, 84 - .cpumask = cpu_all_mask, 84 + .cpumask = cpu_possible_mask, 85 85 }; 86 86 87 87 static struct irqaction au1x_rtcmatch2_irqaction = {