Re: [PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-28 Thread Sam Ravnborg
On Mon, Jan 28, 2008 at 11:13:34AM +0100, Ingo Molnar wrote: > > > It would be better to have a definition we could use from assembler > > code but I did not find a suitable header file for it. > > hm, include/asm-x86/linkage.h? No - it is for general use so it should live in include/linux/*

Re: [PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-28 Thread Ingo Molnar
* Sam Ravnborg <[EMAIL PROTECTED]> wrote: > Without this patch the linker will generate a section named > .sched.text.1 which is unexpected. This is because the gcc generated > section has "ax" but the assembler usage of .sched.text lacks the "ax" > specifier. thanks, applied. > It would be

Re: [PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-28 Thread Ingo Molnar
* Sam Ravnborg [EMAIL PROTECTED] wrote: Without this patch the linker will generate a section named .sched.text.1 which is unexpected. This is because the gcc generated section has ax but the assembler usage of .sched.text lacks the ax specifier. thanks, applied. It would be better to

Re: [PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-28 Thread Sam Ravnborg
On Mon, Jan 28, 2008 at 11:13:34AM +0100, Ingo Molnar wrote: It would be better to have a definition we could use from assembler code but I did not find a suitable header file for it. hm, include/asm-x86/linkage.h? No - it is for general use so it should live in include/linux/*

[PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-26 Thread Sam Ravnborg
Without this patch the linker will generate a section named .sched.text.1 which is unexpected. This is because the gcc generated section has "ax" but the assembler usage of .sched.text lacks the "ax" specifier. It would be better to have a definition we could use from assembler code but I did not

[PATCH] x86: fix usage of .section .sched.text in assembler code

2008-01-26 Thread Sam Ravnborg
Without this patch the linker will generate a section named .sched.text.1 which is unexpected. This is because the gcc generated section has ax but the assembler usage of .sched.text lacks the ax specifier. It would be better to have a definition we could use from assembler code but I did not