aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-10-15 02:56:47 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-27 08:02:23 -0400
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 23192646555f..0f2a944329d3 100644
--- a/kernel/marker.c
+++ b/kernel/marker.c
@@ -43,6 +43,7 @@ static DEFINE_MUTEX(markers_mutex);
43 */ 43 */
44#define MARKER_HASH_BITS 6 44#define MARKER_HASH_BITS 6
45#define MARKER_TABLE_SIZE (1 << MARKER_HASH_BITS) 45#define MARKER_TABLE_SIZE (1 << MARKER_HASH_BITS)
46static struct hlist_head marker_table[MARKER_TABLE_SIZE];
46 47
47/* 48/*
48 * Note about RCU : 49 * Note about RCU :
@@ -68,8 +69,6 @@ struct marker_entry {
68 char name[0]; /* Contains name'\0'format'\0' */ 69 char name[0]; /* Contains name'\0'format'\0' */
69}; 70};
70 71
71static struct hlist_head marker_table[MARKER_TABLE_SIZE];
72
73/** 72/**
74 * __mark_empty_function - Empty probe callback 73 * __mark_empty_function - Empty probe callback
75 * @probe_private: probe private data 74 * @probe_private: probe private data