mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-18 18:37:29 +00:00
make kernel/profile.c:time_hook static
{,un}register_timer_hook() is the API that should be used.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0732a552cb
commit
b012d346c0
@@ -37,7 +37,7 @@ struct profile_hit {
|
||||
#define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ)
|
||||
|
||||
/* Oprofile timer tick hook */
|
||||
int (*timer_hook)(struct pt_regs *) __read_mostly;
|
||||
static int (*timer_hook)(struct pt_regs *) __read_mostly;
|
||||
|
||||
static atomic_t *prof_buffer;
|
||||
static unsigned long prof_len, prof_shift;
|
||||
|
||||
Reference in New Issue
Block a user