All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Hellstrom <daniel@gaisler.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: David Miller <davem@davemloft.net>,
	namhyung@gmail.com, sparclinux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] sparc32: fix build failure on CONFIG_SPARC_LEON
Date: Tue, 26 Oct 2010 07:14:29 +0000	[thread overview]
Message-ID: <4CC67FD5.4080101@gaisler.com> (raw)
In-Reply-To: <20101025194155.GA26282@merkur.ravnborg.org>


Sam Ravnborg wrote:

>On Mon, Oct 25, 2010 at 11:53:31AM -0700, David Miller wrote:
>  
>
>>From: Sam Ravnborg <sam@ravnborg.org>
>>Date: Mon, 25 Oct 2010 18:11:22 +0200
>>
>>    
>>
>>>On Mon, Oct 25, 2010 at 09:00:43AM -0700, David Miller wrote:
>>>      
>>>
>>>>From: Namhyung Kim <namhyung@gmail.com>
>>>>Date: Tue, 26 Oct 2010 00:52:38 +0900
>>>>
>>>>        
>>>>
>>>>>  CC      arch/sparc/kernel/irq_32.o
>>>>>arch/sparc/kernel/irq_32.c: In function 'request_fast_irq':
>>>>>arch/sparc/kernel/irq_32.c:370:25: error: conflicting types for 'trapbase_cpu1'
>>>>>          
>>>>>
>>>>I doubt SMP LEON chips even exist, so better to just anti-dep
>>>>this in arch/sparc/Kconfig
>>>>        
>>>>
>>>I have a nice eval board at my desk with a dual-core LEON4 processor.
>>>I only lack time to play with it...
>>>      
>>>
>>Ok.  But whenever someone gets a time to play with it and
>>verify it works, we can sort out this build failure by
>>modifying the code as needed.
>>
>>But for now I prefer the Kconfig SMP dependency fix.
>>    
>>
>
>Yup - I agree.
>My only intention was to tell that such a processor exists in reality
>and not only on paper.
>
I stumbled into the same problem last weeks, enabling "Normal floppy 
disk support" (BLK_DEV_FD) on the LEON makes this error appear. There is 
no hardware for "Normal floppy disk support" on a LEON.

Regards,
Daniel Hellstrom


WARNING: multiple messages have this Message-ID (diff)
From: Daniel Hellstrom <daniel@gaisler.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: David Miller <davem@davemloft.net>,
	namhyung@gmail.com, sparclinux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] sparc32: fix build failure on CONFIG_SPARC_LEON
Date: Tue, 26 Oct 2010 09:14:29 +0200	[thread overview]
Message-ID: <4CC67FD5.4080101@gaisler.com> (raw)
In-Reply-To: <20101025194155.GA26282@merkur.ravnborg.org>


Sam Ravnborg wrote:

>On Mon, Oct 25, 2010 at 11:53:31AM -0700, David Miller wrote:
>  
>
>>From: Sam Ravnborg <sam@ravnborg.org>
>>Date: Mon, 25 Oct 2010 18:11:22 +0200
>>
>>    
>>
>>>On Mon, Oct 25, 2010 at 09:00:43AM -0700, David Miller wrote:
>>>      
>>>
>>>>From: Namhyung Kim <namhyung@gmail.com>
>>>>Date: Tue, 26 Oct 2010 00:52:38 +0900
>>>>
>>>>        
>>>>
>>>>>  CC      arch/sparc/kernel/irq_32.o
>>>>>arch/sparc/kernel/irq_32.c: In function 'request_fast_irq':
>>>>>arch/sparc/kernel/irq_32.c:370:25: error: conflicting types for 'trapbase_cpu1'
>>>>>          
>>>>>
>>>>I doubt SMP LEON chips even exist, so better to just anti-dep
>>>>this in arch/sparc/Kconfig
>>>>        
>>>>
>>>I have a nice eval board at my desk with a dual-core LEON4 processor.
>>>I only lack time to play with it...
>>>      
>>>
>>Ok.  But whenever someone gets a time to play with it and
>>verify it works, we can sort out this build failure by
>>modifying the code as needed.
>>
>>But for now I prefer the Kconfig SMP dependency fix.
>>    
>>
>
>Yup - I agree.
>My only intention was to tell that such a processor exists in reality
>and not only on paper.
>
I stumbled into the same problem last weeks, enabling "Normal floppy 
disk support" (BLK_DEV_FD) on the LEON makes this error appear. There is 
no hardware for "Normal floppy disk support" on a LEON.

Regards,
Daniel Hellstrom


  reply	other threads:[~2010-10-26  7:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 15:52 [PATCH 1/3] sparc: don't #include asm/system.h in asm/jump_label.h Namhyung Kim
2010-10-25 15:52 ` Namhyung Kim
2010-10-25 15:52 ` [PATCH 2/3] sparc32: remove CONFIG_HAVE_PERF_EVENTS option Namhyung Kim
2010-10-25 15:52   ` Namhyung Kim
2010-10-25 15:59   ` David Miller
2010-10-25 15:59     ` David Miller
2010-10-25 16:31     ` Namhyung Kim
2010-10-25 16:31       ` Namhyung Kim
2010-10-25 18:55       ` David Miller
2010-10-25 18:55         ` David Miller
2010-10-25 15:52 ` [PATCH 3/3] sparc32: fix build failure on CONFIG_SPARC_LEON Namhyung Kim
2010-10-25 15:52   ` Namhyung Kim
2010-10-25 16:00   ` David Miller
2010-10-25 16:00     ` David Miller
2010-10-25 16:07     ` Namhyung Kim
2010-10-25 16:07       ` Namhyung Kim
2010-10-25 16:09       ` David Miller
2010-10-25 16:09         ` David Miller
2010-10-25 16:11     ` Sam Ravnborg
2010-10-25 16:11       ` Sam Ravnborg
2010-10-25 18:53       ` David Miller
2010-10-25 18:53         ` David Miller
2010-10-25 19:41         ` Sam Ravnborg
2010-10-25 19:41           ` Sam Ravnborg
2010-10-26  7:14           ` Daniel Hellstrom [this message]
2010-10-26  7:14             ` Daniel Hellstrom
2010-10-25 15:57 ` [PATCH 1/3] sparc: don't #include asm/system.h in David Miller
2010-10-25 15:57   ` [PATCH 1/3] sparc: don't #include asm/system.h in asm/jump_label.h David Miller

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=4CC67FD5.4080101@gaisler.com \
    --to=daniel@gaisler.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=namhyung@gmail.com \
    --cc=sam@ravnborg.org \
    --cc=sparclinux@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.