summaryrefslogtreecommitdiffstats
path: root/include/linux/linkage.h
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@mailshack.com>2008-11-24 15:38:45 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-27 12:37:54 +0100
commitd211af055d0c12dc3416c2886e6fbdc6eb74a381 (patch)
tree27f6826ac10ae12cc546bfedc86959a664ce2802 /include/linux/linkage.h
parentddeb8f2149de280d54f0c8910cead42e6042b2cb (diff)
downloadtalos-op-linux-d211af055d0c12dc3416c2886e6fbdc6eb74a381.tar.gz
talos-op-linux-d211af055d0c12dc3416c2886e6fbdc6eb74a381.zip
i386: get rid of the use of KPROBE_ENTRY / KPROBE_END
entry_32.S is now the only user of KPROBE_ENTRY / KPROBE_END, treewide. 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. The KPROBE_ENTRY and KPROBE_END macro's are removed too. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/linkage.h')
-rw-r--r--include/linux/linkage.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9fd1f859021b..fee9e59649c1 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -64,14 +64,6 @@
name:
#endif
-#define KPROBE_ENTRY(name) \
- .pushsection .kprobes.text, "ax"; \
- ENTRY(name)
-
-#define KPROBE_END(name) \
- END(name); \
- .popsection
-
#ifndef END
#define END(name) \
.size name, .-name
OpenPOWER on IntegriCloud