2010-11-02 08:30:40

by Ming Lei

[permalink] [raw]
Subject: Re: [PATCH] Partially revert patch that encloses asm-offset.h numbers in brackets

2010/10/31 Alexander van Heukelum <[email protected]>:
> In file included from /home/src/linux/linux-2.6/arch/x86/include/asm/suspend_32.h:10,
> ? ? ? ? ? ? ? ? from /home/src/linux/linux-2.6/arch/x86/include/asm/suspend.h:2,
> ? ? ? ? ? ? ? ? from /home/src/linux/linux-2.6/arch/x86/kernel/asm-offsets_32.c:21,
> ? ? ? ? ? ? ? ? from /home/src/linux/linux-2.6/arch/x86/kernel/asm-offsets.c:2:
> /home/src/linux/linux-2.6/arch/x86/include/asm/i387.h: In function ?irq_ts_save?:
> /home/src/linux/linux-2.6/arch/x86/include/asm/i387.h:325: error: implicit declaration of function ?kernel_locked?
> make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1

This also touches me too on .37-rc1, any patch for the compile failure?

thanks,
--
Lei Ming


2010-11-02 10:19:21

by Alexander van Heukelum

[permalink] [raw]
Subject: Re: [PATCH] Partially revert patch that encloses asm-offset.h numbers in brackets

On Tue, 02 Nov 2010 16:30 +0800, "Ming Lei" <[email protected]> wrote:
> 2010/10/31 Alexander van Heukelum <[email protected]>:
> > In file included from /home/src/linux/linux-2.6/arch/x86/include/asm/suspend_32.h:10,
> >                 from /home/src/linux/linux-2.6/arch/x86/include/asm/suspend.h:2,
> >                 from /home/src/linux/linux-2.6/arch/x86/kernel/asm-offsets_32.c:21,
> >                 from /home/src/linux/linux-2.6/arch/x86/kernel/asm-offsets.c:2:
> > /home/src/linux/linux-2.6/arch/x86/include/asm/i387.h: In function ‘irq_ts_save’:
> > /home/src/linux/linux-2.6/arch/x86/include/asm/i387.h:325: error: implicit declaration of function ‘kernel_locked’
> > make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
>
> This also touches me too on .37-rc1, any patch for the compile failure?

I think this one fixes it:

http://lkml.org/lkml/2010/10/28/151

Greetings,
Alexander

> thanks,
> --
> Lei Ming
>