Remove unused code in pc32/ipl.s
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Jul 2009 03:40:01 +0000 (11:40 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 11 Jul 2009 02:27:13 +0000 (10:27 +0800)
sys/platform/pc32/isa/ipl.s

index 3593ec3..58b0400 100644 (file)
@@ -223,24 +223,9 @@ doreti_fast:
        jnc     doreti_next
        pushl   %eax                    /* save IRQ mask unavailable for BGL */
                                        /* NOTE: is also CPL in frame */
-#if 0
-#ifdef SMP
-       pushl   %ecx                    /* save ecx */
-       call    try_mplock
-       popl    %ecx
-       testl   %eax,%eax
-       jz      1f
-       /* MP lock successful */
-#endif
-#endif
        incl    PCPU(intr_nesting_level)
        call    dofastunpend            /* unpend fast intr %ecx */
        decl    PCPU(intr_nesting_level)
-#if 0
-#ifdef SMP
-       call    rel_mplock
-#endif
-#endif
        popl    %eax
        jmp     doreti_next
 1:
@@ -413,23 +398,9 @@ splz_fast:
        btrl    %ecx, PCPU(fpending)    /* is it really still pending? */
        jnc     splz_next
        pushl   %eax
-#if 0
-#ifdef SMP
-       pushl   %ecx
-       call    try_mplock
-       popl    %ecx
-       testl   %eax,%eax
-       jz      1f
-#endif
-#endif
        incl    PCPU(intr_nesting_level)
        call    dofastunpend            /* unpend fast intr %ecx */
        decl    PCPU(intr_nesting_level)
-#if 0
-#ifdef SMP
-       call    rel_mplock
-#endif
-#endif
        popl    %eax
        jmp     splz_next
 1: