Skip to content

Commit

Permalink
markers: let marker_table be close to its comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Oct 27, 2008
1 parent 505e371 commit 4de6274
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/marker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand All @@ -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
Expand Down

0 comments on commit 4de6274

Please sign in to comment.