diff options
author | Richard Weinberger <richard@nod.at> | 2014-07-13 08:52:04 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 14:58:23 -0400 |
commit | 3c7a49d0745a82845f017929eefa9ac1ad117355 (patch) | |
tree | 6d9b7db1fe23c729959c8279da09335de3c5806a /arch | |
parent | 125ec7b4e90cbae4eed5a7ff1ee479cc331dcf3c (diff) |
ia64: Remove Linux/x86 exec domain support
As this series removes exec domain support we can
get rid of this hack.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/mm/init.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 6b3345758d3e..a9b65cf7b34a 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -692,31 +692,6 @@ int arch_remove_memory(u64 start, u64 size) | |||
692 | #endif | 692 | #endif |
693 | #endif | 693 | #endif |
694 | 694 | ||
695 | /* | ||
696 | * Even when CONFIG_IA32_SUPPORT is not enabled it is | ||
697 | * useful to have the Linux/x86 domain registered to | ||
698 | * avoid an attempted module load when emulators call | ||
699 | * personality(PER_LINUX32). This saves several milliseconds | ||
700 | * on each such call. | ||
701 | */ | ||
702 | static struct exec_domain ia32_exec_domain; | ||
703 | |||
704 | static int __init | ||
705 | per_linux32_init(void) | ||
706 | { | ||
707 | ia32_exec_domain.name = "Linux/x86"; | ||
708 | ia32_exec_domain.handler = NULL; | ||
709 | ia32_exec_domain.pers_low = PER_LINUX32; | ||
710 | ia32_exec_domain.pers_high = PER_LINUX32; | ||
711 | ia32_exec_domain.signal_map = default_exec_domain.signal_map; | ||
712 | ia32_exec_domain.signal_invmap = default_exec_domain.signal_invmap; | ||
713 | register_exec_domain(&ia32_exec_domain); | ||
714 | |||
715 | return 0; | ||
716 | } | ||
717 | |||
718 | __initcall(per_linux32_init); | ||
719 | |||
720 | /** | 695 | /** |
721 | * show_mem - give short summary of memory stats | 696 | * show_mem - give short summary of memory stats |
722 | * | 697 | * |