Use ENTRY_NP for alternate entry points instead of ENTRY to avoid calling

mcount twice when profiling.

Spotted out by:	bde
This commit is contained in:
Olivier Houchard 2006-08-30 11:44:37 +00:00
parent 9dd54fbb7e
commit d50cc5583f

View File

@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
* Fetch an int from the user's address space.
*/
ENTRY(casuword32)
ENTRY_NP(casuword32)
ENTRY(casuptr)
#ifdef MULTIPROCESSOR
/* XXX Probably not appropriate for non-Hydra SMPs */
@ -99,7 +99,7 @@ ENTRY(casuptr)
* Fetch an int from the user's address space.
*/
ENTRY(fuword32)
ENTRY_NP(fuword32)
ENTRY(fuword)
#ifdef MULTIPROCESSOR
/* XXX Probably not appropriate for non-Hydra SMPs */
@ -301,7 +301,7 @@ fusupcbfaulttext:
* Store an int in the user's address space.
*/
ENTRY(suword32)
ENTRY_NP(suword32)
ENTRY(suword)
#ifdef MULTIPROCESSOR
/* XXX Probably not appropriate for non-Hydra SMPs */