[IA64] Remove COMPAT_IA32 support
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / ia64 / mm / init.c
index b9609c6..ca3335e 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/kexec.h>
 
 #include <asm/dma.h>
-#include <asm/ia32.h>
 #include <asm/io.h>
 #include <asm/machvec.h>
 #include <asm/numa.h>
@@ -91,7 +90,7 @@ dma_mark_clean(void *addr, size_t size)
 inline void
 ia64_set_rbs_bot (void)
 {
-       unsigned long stack_size = current->signal->rlim[RLIMIT_STACK].rlim_max & -16;
+       unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16;
 
        if (stack_size > MAX_USER_STACK_SIZE)
                stack_size = MAX_USER_STACK_SIZE;
@@ -668,10 +667,6 @@ mem_init (void)
                        fsyscall_table[i] = sys_call_table[i] | 1;
        }
        setup_gate();
-
-#ifdef CONFIG_IA32_SUPPORT
-       ia32_mem_init();
-#endif
 }
 
 #ifdef CONFIG_MEMORY_HOTPLUG