Module Name: src
Committed By: ragge
Date: Wed Apr 25 09:23:01 UTC 2018
Modified Files:
src/sys/arch/vax/include: asm.h
Log Message:
Add __KERNEL_RCSID() macro.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/vax/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/vax/include/asm.h
diff -u src/sys/arch/vax/include/asm.h:1.26 src/sys/arch/vax/include/asm.h:1.27
--- src/sys/arch/vax/include/asm.h:1.26 Fri Jun 1 06:26:38 2012
+++ src/sys/arch/vax/include/asm.h Wed Apr 25 09:23:00 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.26 2012/06/01 06:26:38 matt Exp $ */
+/* $NetBSD: asm.h,v 1.27 2018/04/25 09:23:00 ragge Exp $ */
/*
* Copyright (c) 1982, 1993
* The Regents of the University of California. All rights reserved.
@@ -81,6 +81,11 @@
#define ALTENTRY(x) .globl _C_LABEL(x); _C_LABEL(x):
#define RCSID(name) .pushsection ".ident"; .asciz name; .popsection
+#ifdef NO_KERNEL_RCSIDS
+#define __KERNEL_RCSID(_n, _s) /* nothing */
+#else
+#define __KERNEL_RCSID(_n, _s) RCSID(_s)
+#endif
#define WEAK_ALIAS(alias,sym) \
.weak alias; \