提交 a705be6b 编写于 作者: O Oleg Nesterov 提交者: Linus Torvalds

kill the obsolete thread_group_cputime_free() helper

Kill the empty thread_group_cputime_free() helper.  It was needed to free
the per-cpu data which we no longer have.
Signed-off-by: NOleg Nesterov <oleg@redhat.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d40e48e0
...@@ -2393,10 +2393,6 @@ static inline void thread_group_cputime_init(struct signal_struct *sig) ...@@ -2393,10 +2393,6 @@ static inline void thread_group_cputime_init(struct signal_struct *sig)
spin_lock_init(&sig->cputimer.lock); spin_lock_init(&sig->cputimer.lock);
} }
static inline void thread_group_cputime_free(struct signal_struct *sig)
{
}
/* /*
* Reevaluate whether the task has signals pending delivery. * Reevaluate whether the task has signals pending delivery.
* Wake the task if so. * Wake the task if so.
......
...@@ -167,7 +167,6 @@ EXPORT_SYMBOL(free_task); ...@@ -167,7 +167,6 @@ EXPORT_SYMBOL(free_task);
static inline void free_signal_struct(struct signal_struct *sig) static inline void free_signal_struct(struct signal_struct *sig)
{ {
thread_group_cputime_free(sig);
kmem_cache_free(signal_cachep, sig); kmem_cache_free(signal_cachep, sig);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册