summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/profile.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2006-10-28 11:03:03 +0000
committerbde <bde@FreeBSD.org>2006-10-28 11:03:03 +0000
commit2952a2afab86f9010f6527367882d7427a984bad (patch)
tree58e11afc44e5ee3e84ab6390b8cde342d1b80e54 /sys/amd64/include/profile.h
parent963ac453db05c1bc7038ec526ac5fc55192d4171 (diff)
downloadFreeBSD-src-2952a2afab86f9010f6527367882d7427a984bad.zip
FreeBSD-src-2952a2afab86f9010f6527367882d7427a984bad.tar.gz
i386/include/profile.h:
Fixed a syntax error for the (!__KERNEL && !__GNUCLIKE_ASM) case in rev.1.36. Apparently, this case has never been reached even by lint. Submitted by: stefanf {amd64,i386}/include/profile.h: In case the above case is actually reached, break it properly by providing null support that will fail at link time instead of a stub that gives wrong (null) profiling at runtime.
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r--sys/amd64/include/profile.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h
index b13920a..6f66e45 100644
--- a/sys/amd64/include/profile.h
+++ b/sys/amd64/include/profile.h
@@ -171,11 +171,7 @@ mcount() \
}
#endif
#else /* !__GNUCLIKE_ASM */
-#define MCOUNT \
-void \
-mcount() \
-{ \
-}
+#define MCOUNT
#endif /* __GNUCLIKE_ASM */
typedef u_long uintfptr_t;
OpenPOWER on IntegriCloud