]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix usage of .section .sched.text in assembler code
authorSam Ravnborg <sam@ravnborg.org>
Wed, 30 Jan 2008 12:33:37 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:37 +0000 (13:33 +0100)
commita4667162ee3d3d638e85fa394cd8f308e634c8c0
treee721a8d750103b9738d50665b38ef87e5fbf4cf2
parent8271651b8e7d79b4b40fb929236cd8c5ff40b2fc
x86: fix usage of .section .sched.text in assembler code

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 find a suitable header
file for it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/lib/semaphore_32.S
arch/x86/lib/thunk_64.S