diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2007-10-19 02:41:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:55 -0400 |
commit | 31155bc03e35a8d2b2551bc2eea3da5791e1b776 (patch) | |
tree | 64a82cd692af1dc3672d311f5788e2dc6a56e546 /include | |
parent | 267c4025f2e198a4e551556a6db31a554ca51814 (diff) |
Linux Kernel Markers - Samples
Module example showing how to use the Linux Kernel Markers.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/marker.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/marker.h b/include/linux/marker.h index 8038d89b835d..5f36cf946bcb 100644 --- a/include/linux/marker.h +++ b/include/linux/marker.h | |||
@@ -61,7 +61,6 @@ struct marker { | |||
61 | __attribute__((section("__markers"), aligned(8))) = \ | 61 | __attribute__((section("__markers"), aligned(8))) = \ |
62 | { __mstrtab_name_##name, __mstrtab_format_##name, \ | 62 | { __mstrtab_name_##name, __mstrtab_format_##name, \ |
63 | 0, __mark_empty_function, NULL }; \ | 63 | 0, __mark_empty_function, NULL }; \ |
64 | asm volatile("" : : "i" (&__mark_##name)); \ | ||
65 | __mark_check_format(format, ## args); \ | 64 | __mark_check_format(format, ## args); \ |
66 | if (unlikely(__mark_##name.state)) { \ | 65 | if (unlikely(__mark_##name.state)) { \ |
67 | preempt_disable(); \ | 66 | preempt_disable(); \ |