Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/marvell Use "b" constraint so r0 won't be u...



details:   https://anonhg.NetBSD.org/src/rev/f2b9508233bc
branches:  trunk
changeset: 544283:f2b9508233bc
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Mar 16 06:57:31 2003 +0000

description:
Use "b" constraint so r0 won't be used.

diffstat:

 sys/arch/powerpc/marvell/marvell_intr.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 97f5def821b7 -r f2b9508233bc sys/arch/powerpc/marvell/marvell_intr.h
--- a/sys/arch/powerpc/marvell/marvell_intr.h   Sun Mar 16 06:56:47 2003 +0000
+++ b/sys/arch/powerpc/marvell/marvell_intr.h   Sun Mar 16 06:57:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: marvell_intr.h,v 1.2 2003/03/15 07:50:28 matt Exp $    */
+/*     $NetBSD: marvell_intr.h,v 1.3 2003/03/16 06:57:31 matt Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -518,7 +518,7 @@
                "       stwcx.  0,0,%1\n"       \
                "       bne-    1b"             \
           :                                    \
-          : "r"(1 << (isr)), "r"(&netisr)      \
+          : "r"(1 << (isr)), "b"(&netisr)      \
           : "cr0", "r0");                      \
        setsoftnet();                           \
 } while (/*CONSTCOND*/ 0)



Home | Main Index | Thread Index | Old Index