mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
s390/compat: remove compat exec domain
The whole compat exec domain code doesn't make any difference. From the registered s390_exec_domain: - exec domain name is only displayed in /proc/execdomains - handler is unused - pers_low and pers_high are only used internally to find this specific exec domain otherwise the default exec domain will be used - all other fields match the default exec domain So let's get rid of this. Reported-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
0563416b8a
commit
fa2a0627ac
2 changed files with 2 additions and 32 deletions
|
@ -47,9 +47,8 @@ obj-$(CONFIG_SCHED_BOOK) += topology.o
|
|||
obj-$(CONFIG_HIBERNATION) += suspend.o swsusp_asm64.o
|
||||
obj-$(CONFIG_AUDIT) += audit.o
|
||||
compat-obj-$(CONFIG_AUDIT) += compat_audit.o
|
||||
obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
|
||||
compat_wrapper.o compat_exec_domain.o \
|
||||
$(compat-obj-y)
|
||||
obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o
|
||||
obj-$(CONFIG_COMPAT) += compat_wrapper.o $(compat-obj-y)
|
||||
|
||||
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
||||
obj-$(CONFIG_KPROBES) += kprobes.o
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
/*
|
||||
* Support for 32-bit Linux for S390 personality.
|
||||
*
|
||||
* Copyright IBM Corp. 2000
|
||||
* Author(s): Gerhard Tonn (ton@de.ibm.com)
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/personality.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
static struct exec_domain s390_exec_domain;
|
||||
|
||||
static int __init s390_init (void)
|
||||
{
|
||||
s390_exec_domain.name = "Linux/s390";
|
||||
s390_exec_domain.handler = NULL;
|
||||
s390_exec_domain.pers_low = PER_LINUX32;
|
||||
s390_exec_domain.pers_high = PER_LINUX32;
|
||||
s390_exec_domain.signal_map = default_exec_domain.signal_map;
|
||||
s390_exec_domain.signal_invmap = default_exec_domain.signal_invmap;
|
||||
register_exec_domain(&s390_exec_domain);
|
||||
return 0;
|
||||
}
|
||||
|
||||
__initcall(s390_init);
|
Loading…
Reference in a new issue