summaryrefslogtreecommitdiffstats
path: root/kernel/marker.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-10-15 08:56:47 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-27 13:02:23 +0100
commit4de62748e69c31fc4fd5bc43b73e9cf60a17ec53 (patch)
tree22f612230d9e56f6cf487e071f7a3bfebba79fa8 /kernel/marker.c
parentmarkers: remove exported symbol marker_probe_cb_noarg() (diff)
downloadlinux-4de62748e69c31fc4fd5bc43b73e9cf60a17ec53.tar.xz
linux-4de62748e69c31fc4fd5bc43b73e9cf60a17ec53.zip
markers: let marker_table be close to its comments
marker_table is defined far from its comments, this fix make cleanup for it. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/marker.c')
-rw-r--r--kernel/marker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/marker.c b/kernel/marker.c
index 23192646555f..0f2a944329d3 100644
--- a/kernel/marker.c
+++ b/kernel/marker.c
@@ -43,6 +43,7 @@ static DEFINE_MUTEX(markers_mutex);
*/
#define MARKER_HASH_BITS 6
#define MARKER_TABLE_SIZE (1 << MARKER_HASH_BITS)
+static struct hlist_head marker_table[MARKER_TABLE_SIZE];
/*
* Note about RCU :
@@ -68,8 +69,6 @@ struct marker_entry {
char name[0]; /* Contains name'\0'format'\0' */
};
-static struct hlist_head marker_table[MARKER_TABLE_SIZE];
-
/**
* __mark_empty_function - Empty probe callback
* @probe_private: probe private data