This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / um / kernel / um_arch.c
index 8a33c9d..9146c11 100644 (file)
@@ -321,11 +321,6 @@ int linux_main(int argc, char **argv)
        uml_start = CHOOSE_MODE_PROC(set_task_sizes_tt, set_task_sizes_skas, 0,
                                     &host_task_size, &task_size);
 
-       /* Need to check this early because mmapping happens before the
-        * kernel is running.
-        */
-       check_tmpexec();
-
        brk_start = (unsigned long) sbrk(0);
        CHOOSE_MODE_PROC(before_mem_tt, before_mem_skas, brk_start);
        /* Increase physical memory size for exec-shield users
@@ -405,9 +400,9 @@ extern int uml_exitcode;
 static int panic_exit(struct notifier_block *self, unsigned long unused1,
                      void *unused2)
 {
-       bust_spinlocks(1);
-       show_regs(&(current->thread.regs));
-       bust_spinlocks(0);
+#ifdef CONFIG_MAGIC_SYSRQ
+       handle_sysrq('p', &current->thread.regs, NULL);
+#endif
        uml_exitcode = 1;
        machine_halt();
        return(0);