Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa No need to save CR_TLS twice in the DDB c...



details:   https://anonhg.NetBSD.org/src/rev/ae7706684b82
branches:  trunk
changeset: 762608:ae7706684b82
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Feb 24 08:57:39 2011 +0000

description:
No need to save CR_TLS twice in the DDB case.

hi joerg.

diffstat:

 sys/arch/hppa/hppa/trap.S |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 1a299748115d -r ae7706684b82 sys/arch/hppa/hppa/trap.S
--- a/sys/arch/hppa/hppa/trap.S Thu Feb 24 08:52:59 2011 +0000
+++ b/sys/arch/hppa/hppa/trap.S Thu Feb 24 08:57:39 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.S,v 1.54 2011/02/24 04:28:45 joerg Exp $  */
+/*     $NetBSD: trap.S,v 1.55 2011/02/24 08:57:39 skrll Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -382,9 +382,6 @@
        mfctl   %cr28, %arg1
        stw     %arg0, TF_CR24-TRAPFRAME_SIZEOF(%sr1, %t3)
        stw     %arg1, TF_CR28-TRAPFRAME_SIZEOF(%sr1, %t3)
-
-       mfctl   CR_TLS, %arg0
-       stw     %arg0, TF_CR27-TRAPFRAME_SIZEOF(%sr1, %t3)
 #endif
 
        /* setup kernel context */



Home | Main Index | Thread Index | Old Index