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 /include | |
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 'include')
-rw-r--r-- | include/linux/profile.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h index eec48f5f9348..ff576d1db67d 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h | |||
@@ -78,9 +78,6 @@ int profile_event_unregister(enum profile_type, struct notifier_block * n); | |||
78 | int register_timer_hook(int (*hook)(struct pt_regs *)); | 78 | int register_timer_hook(int (*hook)(struct pt_regs *)); |
79 | void unregister_timer_hook(int (*hook)(struct pt_regs *)); | 79 | void unregister_timer_hook(int (*hook)(struct pt_regs *)); |
80 | 80 | ||
81 | /* Timer based profiling hook */ | ||
82 | extern int (*timer_hook)(struct pt_regs *); | ||
83 | |||
84 | struct pt_regs; | 81 | struct pt_regs; |
85 | 82 | ||
86 | #else | 83 | #else |