Module Name: src Committed By: skrll Date: Mon Feb 28 21:22:35 UTC 2011
Modified Files: src/sys/arch/hppa/hppa: trap.S Log Message: Don't use %tr3 (aka cr27) in emu trap. cr27 is now used for lwp private info. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/hppa/hppa/trap.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hppa/hppa/trap.S diff -u src/sys/arch/hppa/hppa/trap.S:1.59 src/sys/arch/hppa/hppa/trap.S:1.60 --- src/sys/arch/hppa/hppa/trap.S:1.59 Mon Feb 28 21:20:50 2011 +++ src/sys/arch/hppa/hppa/trap.S Mon Feb 28 21:22:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.S,v 1.59 2011/02/28 21:20:50 skrll Exp $ */ +/* $NetBSD: trap.S,v 1.60 2011/02/28 21:22:35 skrll Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -955,7 +955,7 @@ * to use. hppa_fpu_swap deliberately uses only these registers and %r1 * and %arg0. */ - mtctl %arg1, %tr3 + mtctl %arg1, %tr4 mtctl %rp, %tr5 /* Call hppa_fpu_swap. */ @@ -968,7 +968,7 @@ /* Restore registers and rfi. */ mfctl %tr5, %rp - mfctl %tr3, %arg1 + mfctl %tr4, %arg1 mfctl %tr2, %arg0 mfctl %tr7, %r1 rfi