Re: [PATCH] tracing: fix a build error on alpha and m68k

From: Ingo Molnar
Date: Fri Oct 31 2008 - 05:56:22 EST



* Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> On Fri, 31 Oct 2008, Alexey Dobriyan wrote:
> > On Thu, Oct 23, 2008 at 08:34:33PM +0400, Alexey Dobriyan wrote:
> > > On Thu, Oct 23, 2008 at 07:27:48PM +0200, Frederic Weisbecker wrote:
> > > > When tracing is enabled, some arch have included <linux/irqflags.h>
> > > > on their <asm/system.h> but others like alpha or m68k don't.
> > > >
> > > > Build error on alpha:
> > > >
> > > > kernel/trace/trace.c: In function 'tracing_generic_entry_update':
> > > > kernel/trace/trace.c:658: error: implicit declaration of function 'irqs_disabled_flags'
> >
> > FYI, this error still exists in mainline (7f82f000ed030d1108b4de47d9e2d556092980c6).
>
> Now it hit mainline (I can't be bothered to develop _new_ code to
> fix things in -next ;-), I'm implementing irqs_disabled_flags() for
> m68k. Stay tuned...

this (now mainline) commit should have fixed it:

9244489: ftrace: handle archs that do not support irqs_disabled_flags

can you still see problems?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/