mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +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:
parent
0732a552cb
commit
b012d346c0
2 changed files with 1 additions and 4 deletions
|
@ -78,9 +78,6 @@ int profile_event_unregister(enum profile_type, struct notifier_block * n);
|
|||
int register_timer_hook(int (*hook)(struct pt_regs *));
|
||||
void unregister_timer_hook(int (*hook)(struct pt_regs *));
|
||||
|
||||
/* Timer based profiling hook */
|
||||
extern int (*timer_hook)(struct pt_regs *);
|
||||
|
||||
struct pt_regs;
|
||||
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue