Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/include Add __KERNEL_RCSID() macro.



details:   https://anonhg.NetBSD.org/src/rev/0b51a4047993
branches:  trunk
changeset: 831998:0b51a4047993
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Apr 25 09:23:00 2018 +0000

description:
Add __KERNEL_RCSID() macro.

diffstat:

 sys/arch/vax/include/asm.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r ad6109c000a3 -r 0b51a4047993 sys/arch/vax/include/asm.h
--- a/sys/arch/vax/include/asm.h        Wed Apr 25 08:46:19 2018 +0000
+++ b/sys/arch/vax/include/asm.h        Wed Apr 25 09:23:00 2018 +0000
@@ -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;                                                    \



Home | Main Index | Thread Index | Old Index