summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-30 08:14:16 +0200
committerRichard Weinberger <richard@nod.at>2015-04-12 20:58:24 +0200
commit973f911f55a0e510dd6db8bbb29cd82ff138d3c0 (patch)
tree6827110eb50b3d20773d893298eaf751583c4b13 /kernel/exit.c
parent3c7a49d0745a82845f017929eefa9ac1ad117355 (diff)
downloadlinux-sh-973f911f55a0e510dd6db8bbb29cd82ff138d3c0.tar.gz
Remove execution domain support
All users of exec_domain are gone, now we can get rid of that abandoned feature. To not break existing userspace we keep a dummy /proc/execdomains file which will always contain "0-0 Linux [kernel]". Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index feff10bbb307..22fcc05dec40 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -756,8 +756,6 @@ void do_exit(long code)
cgroup_exit(tsk);
- module_put(task_thread_info(tsk)->exec_domain->module);
-
/*
* FIXME: do that only when needed, using sched_exit tracepoint
*/