Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Remove dead code, we are in an #ifndef XE...



details:   https://anonhg.NetBSD.org/src/rev/5662192d8f45
branches:  trunk
changeset: 971681:5662192d8f45
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri May 01 09:23:43 2020 +0000

description:
Remove dead code, we are in an #ifndef XENPV block here.

diffstat:

 sys/arch/i386/i386/spl.S |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (34 lines):

diff -r 23fcb352aaec -r 5662192d8f45 sys/arch/i386/i386/spl.S
--- a/sys/arch/i386/i386/spl.S  Fri May 01 09:17:58 2020 +0000
+++ b/sys/arch/i386/i386/spl.S  Fri May 01 09:23:43 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spl.S,v 1.52 2020/05/01 09:17:58 maxv Exp $    */
+/*     $NetBSD: spl.S,v 1.53 2020/05/01 09:23:43 maxv Exp $    */
 
 /*
  * Copyright (c) 1998, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: spl.S,v 1.52 2020/05/01 09:17:58 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spl.S,v 1.53 2020/05/01 09:23:43 maxv Exp $");
 
 #include "opt_ddb.h"
 #include "opt_spldebug.h"
@@ -98,15 +98,7 @@
 1:
        ret
 2:
-#ifdef XENPV
-       /*
-        * no need to call stipending, we're going to CLI again
-        * just drop the saved value on stack
-        */
-       addl    $4,%esp
-#else
        popf
-#endif
        jmp     _C_LABEL(Xspllower)
        .align  32
 LABEL(spllower_end)



Home | Main Index | Thread Index | Old Index