ia64: Remove Linux/x86 exec domain support
authorRichard Weinberger <richard@nod.at>
Sun, 13 Jul 2014 12:52:04 +0000 (14:52 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 18:58:23 +0000 (20:58 +0200)
As this series removes exec domain support we can
get rid of this hack.

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/ia64/mm/init.c

index 6b3345758d3e3298ed8ee23b592d21adda88034d..a9b65cf7b34a74b120f842a8344a2ce763ca963a 100644 (file)
@@ -692,31 +692,6 @@ int arch_remove_memory(u64 start, u64 size)
 #endif
 #endif
 
-/*
- * Even when CONFIG_IA32_SUPPORT is not enabled it is
- * useful to have the Linux/x86 domain registered to
- * avoid an attempted module load when emulators call
- * personality(PER_LINUX32). This saves several milliseconds
- * on each such call.
- */
-static struct exec_domain ia32_exec_domain;
-
-static int __init
-per_linux32_init(void)
-{
-       ia32_exec_domain.name = "Linux/x86";
-       ia32_exec_domain.handler = NULL;
-       ia32_exec_domain.pers_low = PER_LINUX32;
-       ia32_exec_domain.pers_high = PER_LINUX32;
-       ia32_exec_domain.signal_map = default_exec_domain.signal_map;
-       ia32_exec_domain.signal_invmap = default_exec_domain.signal_invmap;
-       register_exec_domain(&ia32_exec_domain);
-
-       return 0;
-}
-
-__initcall(per_linux32_init);
-
 /**
  * show_mem - give short summary of memory stats
  *