Fixed high resoultion profiling of fuword32() and suword32(). Use the
standard macro ALTENTRY() instead of a home made incomplete version of it.
This commit is contained in:
parent
02692c510d
commit
2151041f22
@ -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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user