]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86_64: get rid of the use of KPROBE_ENTRY / KPROBE_END
authorAlexander van Heukelum <heukelum@mailshack.com>
Mon, 24 Nov 2008 12:24:28 +0000 (13:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 27 Nov 2008 11:37:53 +0000 (12:37 +0100)
commitddeb8f2149de280d54f0c8910cead42e6042b2cb
treecfd7cccc4edb6a4144b2d7455c1f2ed2f7dc2d89
parent3b6c52b5b634ae41d762cb174465272d69198160
x86_64: get rid of the use of KPROBE_ENTRY / KPROBE_END

Impact: clean up assembly macros and annotations - with some object impact

entry_64.S is the only user of KPROBE_ENTRY / KPROBE_END on
x86_64. This patch reorders entry_64.S and explicitly generates
a separate section for functions that need the protection. The
generated code before and after the patch is equal.

Implicitly changing sections in assembly files makes it more
difficult to follow why the assembler is doing certain things.
For example,

.p2align 5
KPROBE_ENTRY(...)

was not doing what you would expect. Other section changes
(__ex_table, .fixup, .init.rodata) are done explicitly already.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S