mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
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>
This commit is contained in:
parent
505e371da1
commit
4de62748e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user