Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Remove #if 0 block



details:   https://anonhg.NetBSD.org/src/rev/d772c333fe57
branches:  trunk
changeset: 766362:d772c333fe57
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 21 05:15:44 2011 +0000

description:
Remove #if 0 block

diffstat:

 sys/arch/powerpc/powerpc/trap_subr.S |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r f9a26b64f8ec -r d772c333fe57 sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Tue Jun 21 05:14:26 2011 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Tue Jun 21 05:15:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap_subr.S,v 1.70 2011/06/17 05:10:53 matt Exp $      */
+/*     $NetBSD: trap_subr.S,v 1.71 2011/06/21 05:15:44 matt Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -962,13 +962,7 @@
 /* Test AST pending: */
        mtcr    %r31
        bf      MSR_PR,trapleave        /* branch if PSL_PR is false */
-#if 0
-       GET_CPUINFO(%r3)
-       ldptr   %r3,CI_CURLWP(%r3)
-       ldint   %r4,L_MD_ASTPENDING(%r3)
-#else
        ldint   %r4,L_MD_ASTPENDING(%r13)
-#endif
        andi.   %r4,%r4,1
        beq     trapleave
 



Home | Main Index | Thread Index | Old Index