[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c62985530810230615s3252a54ao6488e763d72dc939@mail.gmail.com>
Date: Thu, 23 Oct 2008 15:15:01 +0200
From: "Frédéric Weisbecker" <fweisbec@...il.com>
To: "Alexey Dobriyan" <adobriyan@...il.com>
Cc: "Stephen Rothwell" <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: kernel/trace/trace.c:658: error:
2008/10/23 Frédéric Weisbecker <fweisbec@...il.com>:
> 2008/10/23 Alexey Dobriyan <adobriyan@...il.com>:
>> On alpha-smp-n-debug-y:
>>
>> kernel/trace/trace.c: In function 'tracing_generic_entry_update':
>> kernel/trace/trace.c:658: error: implicit declaration of function 'irqs_disabled_flags'
>> kernel/trace/trace.c: In function 'tracing_cpumask_write':
>> kernel/trace/trace.c:2145: error: implicit declaration of function 'raw_local_irq_disable'
>> kernel/trace/trace.c:2162: error: implicit declaration of function 'raw_local_irq_enable'
>> kernel/trace/trace.c: In function 'trace_die_handler':
>> kernel/trace/trace.c:3039: error: 'DIE_OOPS' undeclared (first use in this function)
>>
>> This has something with config dependencies, because adding include doesn't fix it.
>>
>
> A lot of arch have an asm/irqflags.h but not alpha.
> In linux/irqflags, raw_local_irq_* functions are defined to be
> local_irq_* function if they don't support
> CONFIG_TRACE_IRQFLAGS_SUPPORT.
> It seems the error is here, alpha may turn this option off.
>
Hmm no actually your CONFIG_TRACE_IRFLAGS_SUPPORT is not set.
So that's because the linux/irqflags.h is not included in the
asm/system.h on alpha (other archs do).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists