From 2151041f2228cae9a722cc7fa3a655a4331e769e Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 21 May 2004 16:01:54 +0000 Subject: [PATCH] Fixed high resoultion profiling of fuword32() and suword32(). Use the standard macro ALTENTRY() instead of a home made incomplete version of it. --- sys/i386/i386/support.s | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s index 3b9eede578fc..f817b2b0083a 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -1225,6 +1225,7 @@ ENTRY(casuptr) * * Fetch a byte (sword, word) from user memory */ +ALTENTRY(fuword32) ENTRY(fuword) movl PCPU(CURPCB),%ecx movl $fusufault,PCB_ONFAULT(%ecx) @@ -1237,9 +1238,6 @@ ENTRY(fuword) movl $0,PCB_ONFAULT(%ecx) ret -ENTRY(fuword32) - jmp fuword - /* * These two routines are called from the profiling code, potentially * at interrupt time. If they fail, that's okay, good things will @@ -1294,6 +1292,7 @@ fusufault: * * Write a byte (word, longword) to user memory */ +ALTENTRY(suword32) ENTRY(suword) movl PCPU(CURPCB),%ecx movl $fusufault,PCB_ONFAULT(%ecx) @@ -1337,9 +1336,6 @@ ENTRY(suword) movl %eax,PCB_ONFAULT(%ecx) ret -ENTRY(suword32) - jmp suword - /* * suword16 - MP SAFE (if not I386_CPU) */