X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fprofile.c;h=cd26bed4cc26535ca7398eae07fb9b800b762f2e;hb=353029896a5ed6cf42f4ce45729851b23c94d874;hp=58926411eb2a5c6ca43bb6fd18b140ddeb6d9515;hpb=ff877ea80efa2015b6263766f78ee42c2a1b32f9;p=linux-2.6 diff --git a/kernel/profile.c b/kernel/profile.c index 58926411eb..cd26bed4cc 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -112,8 +112,6 @@ void __init profile_init(void) /* Profile event notifications */ -#ifdef CONFIG_PROFILING - static BLOCKING_NOTIFIER_HEAD(task_exit_notifier); static ATOMIC_NOTIFIER_HEAD(task_free_notifier); static BLOCKING_NOTIFIER_HEAD(munmap_notifier); @@ -203,8 +201,6 @@ void unregister_timer_hook(int (*hook)(struct pt_regs *)) } EXPORT_SYMBOL_GPL(unregister_timer_hook); -#endif /* CONFIG_PROFILING */ - #ifdef CONFIG_SMP /*