All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Lauss <manuel.lauss@gmail.com>
To: Linux-MIPS <linux-mips@vger.kernel.org>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Subject: [PATCH 1/5] MIPS: alchemy: cpu_all_mask is forbidden for clock event devices
Date: Wed, 19 Dec 2018 08:07:59 +0100	[thread overview]
Message-ID: <20181219070803.449981-2-manuel.lauss@gmail.com> (raw)
In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com>

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>
---
 arch/mips/alchemy/common/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c
index ff4dbe3dee34..b0f949c907dd 100644
--- a/arch/mips/alchemy/common/time.c
+++ b/arch/mips/alchemy/common/time.c
@@ -82,7 +82,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = {
 	.features	= CLOCK_EVT_FEAT_ONESHOT,
 	.rating		= 1500,
 	.set_next_event = au1x_rtcmatch2_set_next_event,
-	.cpumask	= cpu_all_mask,
+	.cpumask	= cpu_possible_mask,
 };
 
 static struct irqaction au1x_rtcmatch2_irqaction = {
-- 
2.20.0


  reply	other threads:[~2018-12-19  7:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19  7:07 [PATCH 0/5] MIPS: Alchemy updates for 4.20+ Manuel Lauss
2018-12-19  7:07 ` Manuel Lauss [this message]
2018-12-23 16:16   ` [PATCH 1/5] MIPS: alchemy: cpu_all_mask is forbidden for clock event devices Paul Burton
2018-12-19  7:08 ` [PATCH 2/5] net: drivers/amd: restore access to MIPS Alchemy platform Manuel Lauss
2018-12-19  7:08 ` [PATCH 3/5] MIPS: Alchemy: drop DB1000 IrDA support bits Manuel Lauss
2018-12-23 16:16   ` Paul Burton
2018-12-19  7:08 ` [PATCH 4/5] MIPS: Alchemy: update cpu-feature-overrides Manuel Lauss
2018-12-23 16:16   ` Paul Burton
2018-12-19  7:08 ` [PATCH 5/5] MIPS: Alchemy: update dma masks for devboard devices Manuel Lauss
2018-12-23 16:16   ` Paul Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181219070803.449981-2-manuel.lauss@gmail.com \
    --to=manuel.lauss@gmail.com \
    --cc=linux-mips@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.