diff options
Diffstat (limited to 'include/linux/profile.h')
| -rw-r--r-- | include/linux/profile.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h index a0fc32279fc0..21123902366d 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h | |||
| @@ -82,9 +82,6 @@ int task_handoff_unregister(struct notifier_block * n); | |||
| 82 | int profile_event_register(enum profile_type, struct notifier_block * n); | 82 | int profile_event_register(enum profile_type, struct notifier_block * n); |
| 83 | int profile_event_unregister(enum profile_type, struct notifier_block * n); | 83 | int profile_event_unregister(enum profile_type, struct notifier_block * n); |
| 84 | 84 | ||
| 85 | int register_timer_hook(int (*hook)(struct pt_regs *)); | ||
| 86 | void unregister_timer_hook(int (*hook)(struct pt_regs *)); | ||
| 87 | |||
| 88 | struct pt_regs; | 85 | struct pt_regs; |
| 89 | 86 | ||
| 90 | #else | 87 | #else |
| @@ -135,16 +132,6 @@ static inline int profile_event_unregister(enum profile_type t, struct notifier_ | |||
| 135 | #define profile_handoff_task(a) (0) | 132 | #define profile_handoff_task(a) (0) |
| 136 | #define profile_munmap(a) do { } while (0) | 133 | #define profile_munmap(a) do { } while (0) |
| 137 | 134 | ||
| 138 | static inline int register_timer_hook(int (*hook)(struct pt_regs *)) | ||
| 139 | { | ||
| 140 | return -ENOSYS; | ||
| 141 | } | ||
| 142 | |||
| 143 | static inline void unregister_timer_hook(int (*hook)(struct pt_regs *)) | ||
| 144 | { | ||
| 145 | return; | ||
| 146 | } | ||
| 147 | |||
| 148 | #endif /* CONFIG_PROFILING */ | 135 | #endif /* CONFIG_PROFILING */ |
| 149 | 136 | ||
| 150 | #endif /* _LINUX_PROFILE_H */ | 137 | #endif /* _LINUX_PROFILE_H */ |
