Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Support for 32-bit Linux for S390 personality. |
| 3 | * |
| 4 | * Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation |
| 5 | * Author(s): Gerhard Tonn (ton@de.ibm.com) |
| 6 | * |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #include <linux/kernel.h> |
| 11 | #include <linux/init.h> |
| 12 | #include <linux/personality.h> |
| 13 | #include <linux/sched.h> |
| 14 | |
Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 15 | static struct exec_domain s390_exec_domain; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 17 | static int __init s390_init (void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | { |
| 19 | s390_exec_domain.name = "Linux/s390"; |
| 20 | s390_exec_domain.handler = NULL; |
| 21 | s390_exec_domain.pers_low = PER_LINUX32; |
| 22 | s390_exec_domain.pers_high = PER_LINUX32; |
| 23 | s390_exec_domain.signal_map = default_exec_domain.signal_map; |
| 24 | s390_exec_domain.signal_invmap = default_exec_domain.signal_invmap; |
| 25 | register_exec_domain(&s390_exec_domain); |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | __initcall(s390_init); |