diff mbox

kernel/traps.c PARISC_BUG_BREAK_INSN undeclared

Message ID 20090325140909.GF19208@bombadil.infradead.org (mailing list archive)
State Accepted
Headers show

Commit Message

kyle mcmartin March 25, 2009, 2:09 p.m. UTC
On Wed, Mar 25, 2009 at 05:02:21PM +0300, Alexander Beregalov wrote:
> arch/parisc/kernel/traps.c: In function 'handle_break':
> arch/parisc/kernel/traps.c:321: error: 'PARISC_BUG_BREAK_INSN'
> undeclared (first use in this function)
> 
> # CONFIG_BUG is not set
> CONFIG_EMBEDDED=y
> 
> Is it a reasonable config?

imho, no.

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Alexander Beregalov April 1, 2009, 4:42 p.m. UTC | #1
2009/3/25 Kyle McMartin <kyle@mcmartin.ca>:
> On Wed, Mar 25, 2009 at 05:02:21PM +0300, Alexander Beregalov wrote:
>> arch/parisc/kernel/traps.c: In function 'handle_break':
>> arch/parisc/kernel/traps.c:321: error: 'PARISC_BUG_BREAK_INSN'
>> undeclared (first use in this function)
>>
>> # CONFIG_BUG is not set
>> CONFIG_EMBEDDED=y
>>
>> Is it a reasonable config?
>
> imho, no.
>
> diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
> index aacf11d..efac22a 100644
> --- a/arch/parisc/Kconfig
> +++ b/arch/parisc/Kconfig
> @@ -12,6 +12,7 @@ config PARISC
>        select RTC_CLASS
>        select RTC_DRV_PARISC
>        select INIT_ALL_POSSIBLE
> +       select BUG
>        help
>          The PA-RISC microprocessor is designed by Hewlett-Packard and used
>          in many of their workstations & servers (HP9000 700 and 800 series,
>
It still fails.
Could you please add it to your branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
kyle mcmartin April 1, 2009, 11:30 p.m. UTC | #2
On Wed, Apr 01, 2009 at 08:42:31PM +0400, Alexander Beregalov wrote:
> It still fails.
> Could you please add it to your branch.
> 

I was hoping someone would confirm the patch worked, or tell me I'm an
idiot or something... ;-)

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index aacf11d..efac22a 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -12,6 +12,7 @@  config PARISC
 	select RTC_CLASS
 	select RTC_DRV_PARISC
 	select INIT_ALL_POSSIBLE
+	select BUG
 	help
 	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
 	  in many of their workstations & servers (HP9000 700 and 800 series,