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 Avoid a few instructions since we k...
details: https://anonhg.NetBSD.org/src/rev/9d873c4cf1c9
branches: trunk
changeset: 789579:9d873c4cf1c9
user: matt <matt%NetBSD.org@localhost>
date: Fri Aug 23 06:24:21 2013 +0000
description:
Avoid a few instructions since we know CURLWP is in %r13
diffstat:
sys/arch/powerpc/powerpc/trap_subr.S | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (23 lines):
diff -r a397de1fcfb5 -r 9d873c4cf1c9 sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S Fri Aug 23 06:22:32 2013 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S Fri Aug 23 06:24:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap_subr.S,v 1.76 2013/04/11 17:13:15 macallan Exp $ */
+/* $NetBSD: trap_subr.S,v 1.77 2013/08/23 06:24:21 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -1068,13 +1068,7 @@
isync
addi %r3,%r1,FRAME_TF
/* Call the appropriate syscall handler: */
-#if 0
- GET_CPUINFO(%r4)
- ldptr %r4,CI_CURLWP(%r4)
- ldptr %r4,L_PROC(%r4)
-#else
ldptr %r4,L_PROC(%r13)
-#endif
ldptr %r4,P_MD_SYSCALL(%r4)
mtctr %r4
bctrl
Home |
Main Index |
Thread Index |
Old Index