diff options
author | Alexander van Heukelum <heukelum@mailshack.com> | 2008-11-24 13:24:28 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-27 12:37:53 +0100 |
commit | ddeb8f2149de280d54f0c8910cead42e6042b2cb (patch) | |
tree | cfd7cccc4edb6a4144b2d7455c1f2ed2f7dc2d89 /include/linux/linkage.h | |
parent | 3b6c52b5b634ae41d762cb174465272d69198160 (diff) | |
download | linux-3.10-ddeb8f2149de280d54f0c8910cead42e6042b2cb.tar.gz linux-3.10-ddeb8f2149de280d54f0c8910cead42e6042b2cb.tar.bz2 linux-3.10-ddeb8f2149de280d54f0c8910cead42e6042b2cb.zip |
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>
Diffstat (limited to 'include/linux/linkage.h')
0 files changed, 0 insertions, 0 deletions