Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: Manuel Lauss <mano@roarinelk.homelinux.net>
Cc: Frank Neuber <linux-mips@kernelport.de>,
	Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: AU1550 Kernel bug detected[#1]  clockevents_register_device
Date: Tue, 27 Jan 2009 10:18:30 +0100	[thread overview]
Message-ID: <200901271018.31863.florian@openwrt.org> (raw)
In-Reply-To: <20090127091107.GA15890@roarinelk.homelinux.net>

Le Tuesday 27 January 2009 10:11:07 Manuel Lauss, vous avez écrit :
> On Tue, Jan 27, 2009 at 09:44:02AM +0100, Frank Neuber wrote:
> > Hi,
> > to find my PCI problem I want to use git to find the last working
> > version.
> > I just start with head and found a compile error:
> > arch/mips/alchemy/common/time.c:93: error: incompatible types in
> > initialization
> > I comment this line ".cpumask        = CPU_MASK_ALL,"
>
> you need to change it to "CPU_MASK_ALL_PTR".  Commenting it is not a very
> good idea ;-)

This build failure also happens on linux-queue. Patch below.
--
From: Florian Fainelli
Subject: [PATCH] alchemy: fix build failure on time.c

This patch fixes the following build failure :

arch/mips/alchemy/common/time.c:93: error: incompatible types in
initialization

Reported-by: Frank Neuber <linux-mips@kernelport.de>
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c
index 3288014..6fd441d 100644
--- a/arch/mips/alchemy/common/time.c
+++ b/arch/mips/alchemy/common/time.c
@@ -89,7 +89,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = {
 	.irq		= AU1000_RTC_MATCH2_INT,
 	.set_next_event	= au1x_rtcmatch2_set_next_event,
 	.set_mode	= au1x_rtcmatch2_set_mode,
-	.cpumask	= CPU_MASK_ALL,
+	.cpumask	= CPU_MASK_ALL_PTR,
 };
 
 static struct irqaction au1x_rtcmatch2_irqaction = {

  reply	other threads:[~2009-01-27  9:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27  8:44 AU1550 Kernel bug detected[#1] clockevents_register_device Frank Neuber
2009-01-27  9:11 ` Manuel Lauss
2009-01-27  9:18   ` Florian Fainelli [this message]
2009-01-27  9:23     ` Florian Fainelli
2009-01-27 10:13   ` Frank Neuber
2009-01-27 12:11     ` Manuel Lauss
2009-01-27 12:42       ` Frank Neuber
2009-01-28  9:19         ` Frank Neuber
2009-01-28  9:38           ` Manuel Lauss
2009-01-28  9:45             ` Manuel Lauss
2009-01-28 10:38               ` Frank Neuber
2009-01-28 10:31             ` Frank Neuber
2009-01-29 21:35       ` Ralf Baechle

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=200901271018.31863.florian@openwrt.org \
    --to=florian@openwrt.org \
    --cc=linux-mips@kernelport.de \
    --cc=linux-mips@linux-mips.org \
    --cc=mano@roarinelk.homelinux.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox