diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 02:29:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:55 -0400 |
commit | b012d346c0e914f505d92f730ad1758f73e2953b (patch) | |
tree | 439afd808718bf36f8a4d2b86339731ef98eb2a6 /kernel | |
parent | 0732a552cb31a40db47f7d48e54847190e452da9 (diff) |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/profile.c b/kernel/profile.c index 6f69bf792d96..631b75c25d7e 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
@@ -37,7 +37,7 @@ struct profile_hit { | |||
37 | #define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ) | 37 | #define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ) |
38 | 38 | ||
39 | /* Oprofile timer tick hook */ | 39 | /* Oprofile timer tick hook */ |
40 | int (*timer_hook)(struct pt_regs *) __read_mostly; | 40 | static int (*timer_hook)(struct pt_regs *) __read_mostly; |
41 | 41 | ||
42 | static atomic_t *prof_buffer; | 42 | static atomic_t *prof_buffer; |
43 | static unsigned long prof_len, prof_shift; | 43 | static unsigned long prof_len, prof_shift; |