Re: ftrace breaks sparc64 build

Al Viro
2009-01-06T15:52:31Z

On Tue, Jan 06, 2009 at 02:34:42PM +0100, Sam Ravnborg wrote:
> On Tue, Jan 06, 2009 at 11:35:43AM +0000, Al Viro wrote:
> > On Tue, Jan 06, 2009 at 07:53:04AM +0000, Jan Beulich wrote:
> >
> > > The __crc_... reference is definitely bogus - none should survive with the
> > > new .c->.o rule. Could you find out what object file they originate from?
> >
> > So can you, by use of arcane tool known as "grep"... It's in kernel/softirq.c
> > and that's genksyms parser being fucked in head. Look for TYPEOF_KEYW
> > in parse.y and you'll see. Especially amusing part is a kludge from
> > commit a89a0a2354ae666612968e254d650bfd04f11eb6...
>
> Any feedback on what to do to make it better?
> Never used typeof myself so I do not know the exact syntax.

Same as that of sizeof. I.e. typeof(<type-name>) or typeof <unary-expression>.