]> err.no Git - linux-2.6/blobdiff - arch/sparc64/kernel/process.c
[ARM] Allow SMP if Realview MPcore is selected
[linux-2.6] / arch / sparc64 / kernel / process.c
index 66255434128a2e6ebf6b144d5d030003fe4ebaca..7d10b03970919c63b6d1c1dd138b203f6fa42568 100644 (file)
@@ -607,11 +607,6 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
        struct thread_info *t = p->thread_info;
        char *child_trap_frame;
 
-#ifdef CONFIG_DEBUG_SPINLOCK
-       p->thread.smp_lock_count = 0;
-       p->thread.smp_lock_pc = 0;
-#endif
-
        /* Calculate offset to stack_frame & pt_regs */
        child_trap_frame = ((char *)t) + (THREAD_SIZE - (TRACEREG_SZ+STACKFRAME_SZ));
        memcpy(child_trap_frame, (((struct sparc_stackf *)regs)-1), (TRACEREG_SZ+STACKFRAME_SZ));