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 Same code exists in both halves in ...



details:   https://anonhg.NetBSD.org/src/rev/e1c0ca51437b
branches:  trunk
changeset: 544118:e1c0ca51437b
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 12 06:00:36 2003 +0000

description:
Same code exists in both halves in #ifdef/#else/#endif.  move it outside.

diffstat:

 sys/arch/powerpc/powerpc/locore_subr.S |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 588d12dc2451 -r e1c0ca51437b sys/arch/powerpc/powerpc/locore_subr.S
--- a/sys/arch/powerpc/powerpc/locore_subr.S    Wed Mar 12 03:46:11 2003 +0000
+++ b/sys/arch/powerpc/powerpc/locore_subr.S    Wed Mar 12 06:00:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_subr.S,v 1.11 2003/03/11 10:40:17 hannken Exp $ */
+/*     $NetBSD: locore_subr.S,v 1.12 2003/03/12 06:00:36 matt Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -358,10 +358,8 @@
        bl      _C_LABEL(ctx_alloc)
        b       0b                      /* reload */
 1:
+#endif
        mr      3,30                    /* restore return value */
-#else /* PPC_OEA */
-       mr      3,30                    /* restore return value */
-#endif
 
        lwz     31,12(1)
        lwz     30,8(1)



Home | Main Index | Thread Index | Old Index