From d50cc5583f372a967b40a4eee79b19e32d6b73df Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Wed, 30 Aug 2006 11:44:37 +0000 Subject: Use ENTRY_NP for alternate entry points instead of ENTRY to avoid calling mcount twice when profiling. Spotted out by: bde --- sys/arm/arm/fusu.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arm') diff --git a/sys/arm/arm/fusu.S b/sys/arm/arm/fusu.S index 7712b44dabdc5..afd4663e9145d 100644 --- a/sys/arm/arm/fusu.S +++ b/sys/arm/arm/fusu.S @@ -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 */ -- cgit v1.3