aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2008-11-23 17:21:39 +0000
committerIngo Molnar <[email protected]>2008-11-23 18:57:01 +0000
commit3b6c52b5b634ae41d762cb174465272d69198160 (patch)
tree22f6d335b0a1635805488a0864471221ab1a7dc7 /net/unix/af_unix.c
parentx86: KPROBE_ENTRY should be paired wth KPROBE_END (diff)
downloadkernel-3b6c52b5b634ae41d762cb174465272d69198160.tar.gz
kernel-3b6c52b5b634ae41d762cb174465272d69198160.zip
x86: introduce ENTRY(KPROBE_ENTRY)_X86 assembly helpers to catch unbalanced declaration v3
Impact: make ENTRY()/END() macros more capable It's usefull to catch unbalanced or messed or mixed declarations of ENTRY and KPROBES. These macros would help a bit. For example the following code would compile without problems ENTRY_X86(mcount) retq END_X86(mcount) But if you forget and mess the following form ENTRY_X86(mcount) retq END(mcount) ENTRY_X86(ftrace_caller) The assembler will issue the following message: Error: ENTRY_X86/KPROBE_X86 unbalanced,missed,mixed Actually the checking is performed at every _X86 macro so maybe it's good idea to put ENTRY_KPROBE_FINAL_X86 at the end of .S file to be sure you didn't miss anything. Signed-off-by: Cyrill Gorcunov <[email protected]> Cc: Alexander van Heukelum <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions