Linux-2.6.12-rc2
[linux-2.6/next.git] / arch / s390 / kernel / compat_exec_domain.c
blob71d27c493568babbdfdee79e17a24b481c35cd75
1 /*
2 * Support for 32-bit Linux for S390 personality.
4 * Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
5 * Author(s): Gerhard Tonn (ton@de.ibm.com)
8 */
10 #include <linux/kernel.h>
11 #include <linux/init.h>
12 #include <linux/personality.h>
13 #include <linux/sched.h>
15 struct exec_domain s390_exec_domain;
17 static int __init
18 s390_init (void)
20 s390_exec_domain.name = "Linux/s390";
21 s390_exec_domain.handler = NULL;
22 s390_exec_domain.pers_low = PER_LINUX32;
23 s390_exec_domain.pers_high = PER_LINUX32;
24 s390_exec_domain.signal_map = default_exec_domain.signal_map;
25 s390_exec_domain.signal_invmap = default_exec_domain.signal_invmap;
26 register_exec_domain(&s390_exec_domain);
27 return 0;
30 __initcall(s390_init);