aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-10-15 14:56:47 +0800
committerIngo Molnar <mingo@elte.hu>2008-10-27 13:02:23 +0100
commit4de62748e69c31fc4fd5bc43b73e9cf60a17ec53 (patch)
tree22f612230d9e56f6cf487e071f7a3bfebba79fa8 /kernel
parent505e371da195fad20cb8aaf45407a2849774d6d0 (diff)
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')
-rw-r--r--kernel/marker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/marker.c b/kernel/marker.c
index 23192646555..0f2a944329d 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