summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2003-01-28 10:54:31 +0000
committerbenno <benno@FreeBSD.org>2003-01-28 10:54:31 +0000
commit70310f135bf7194be508783d9d066eae00995119 (patch)
tree4df68cb564f34ed74dfc5fc53aa8d0302e154204 /sys
parent1b12d97b5048fda4c9d06265b5d5cc678933d7f9 (diff)
downloadFreeBSD-src-70310f135bf7194be508783d9d066eae00995119.zip
FreeBSD-src-70310f135bf7194be508783d9d066eae00995119.tar.gz
Put the right fix in. Instead of deleting the declaration of __FBSDID, we
undef it before this definition.
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/include/asm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/powerpc/include/asm.h b/sys/powerpc/include/asm.h
index 393cc25..96fc147 100644
--- a/sys/powerpc/include/asm.h
+++ b/sys/powerpc/include/asm.h
@@ -77,6 +77,13 @@
#define RCSID(x) .text; .asciz x
+#undef __FBSDID
+#if !defined(lint) && !defined(STRIP_FBSDID)
+#define __FBSDID(s) .ident s
+#else
+#define __FBSDID(s) /* nothing */
+#endif /* not lint and not STRIP_FBSDID */
+
#define WEAK_ALIAS(alias,sym) \
.weak alias; \
alias = sym
OpenPOWER on IntegriCloud