Module Name:    src
Committed By:   martin
Date:           Sat Jan  4 19:17:58 UTC 2025

Modified Files:
        src/sys/arch/m68k/include: asm.h

Log Message:
PR 58960: m68k/asm.h: Respect NETBSD_REVISIONID.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/m68k/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/m68k/include/asm.h
diff -u src/sys/arch/m68k/include/asm.h:1.35 src/sys/arch/m68k/include/asm.h:1.36
--- src/sys/arch/m68k/include/asm.h:1.35	Tue Sep 26 12:46:30 2023
+++ src/sys/arch/m68k/include/asm.h	Sat Jan  4 19:17:58 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: asm.h,v 1.35 2023/09/26 12:46:30 tsutsui Exp $	*/
+/*	$NetBSD: asm.h,v 1.36 2025/01/04 19:17:58 martin Exp $	*/
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -139,9 +139,16 @@
 #define ALTENTRY(name, rname)	_ENTRY(_C_LABEL(name))
 #endif
 
+#ifdef _NETBSD_REVISIONID
+#define RCSID(x)	.pushsection ".ident","MS",@progbits,1;		\
+			.asciz "$" "NetBSD: " __FILE__ 			\
+			    " " _NETBSD_REVISIONID " $";		\
+			.popsection
+#else
 #define RCSID(x)	.pushsection ".ident","MS",@progbits,1;		\
 			.asciz x;					\
 			.popsection
+#endif
 
 /*
  * Global variables of whatever sort.

Reply via email to