Module Name:    src
Committed By:   skrll
Date:           Mon May  3 20:07:57 UTC 2021

Modified Files:
        src/sys/arch/riscv/include: types.h

Log Message:
Sort __HAVE_ #defines.  NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/riscv/include/types.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/riscv/include/types.h
diff -u src/sys/arch/riscv/include/types.h:1.11 src/sys/arch/riscv/include/types.h:1.12
--- src/sys/arch/riscv/include/types.h:1.11	Sat May  1 06:45:23 2021
+++ src/sys/arch/riscv/include/types.h	Mon May  3 20:07:57 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.11 2021/05/01 06:45:23 skrll Exp $ */
+/* $NetBSD: types.h,v 1.12 2021/05/03 20:07:57 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -83,23 +83,25 @@ typedef __int32_t	__register_t;
 #define	__SIMPLELOCK_LOCKED	1
 #define	__SIMPLELOCK_UNLOCKED	0
 
+#define	__HAVE_COMMON___TLS_GET_ADDR
+#define	__HAVE_COMPAT_NETBSD32
+#define	__HAVE_CPU_COUNTER
+#define	__HAVE_CPU_DATA_FIRST
 #define	__HAVE_FAST_SOFTINTS
 #define	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
-#define	__HAVE_CPU_COUNTER
+//#define	__HAVE_NEW_STYLE_BUS_H
+#define	__HAVE_NO_BUS_DMA
 #define	__HAVE_SYSCALL_INTERN
-#define	__HAVE_CPU_DATA_FIRST
-#define	__HAVE___LWP_GETPRIVATE_FAST
-#define	__HAVE_COMMON___TLS_GET_ADDR
 #define	__HAVE_TLS_VARIANT_I
+/* XXX temporary */
+#define	__HAVE_UNLOCKED_PMAP
+#define	__HAVE___LWP_GETPRIVATE_FAST
+
 #ifdef __LP64
 #define	__HAVE_ATOMIC64_OPS
 #define	__HAVE_CPU_UAREA_ROUTINES
 #endif
 
-//#define	__HAVE_NEW_STYLE_BUS_H
-#define	__HAVE_NO_BUS_DMA
-#define	__HAVE_COMPAT_NETBSD32
-
 //#if defined(_KERNEL)
 //#define	__HAVE_RAS
 //#endif
@@ -109,7 +111,4 @@ typedef __int32_t	__register_t;
 #define	PCU_UNIT_COUNT	1
 #endif
 
-/* XXX temporary */
-#define	__HAVE_UNLOCKED_PMAP
-
 #endif	/* _RISCV_TYPES_H_ */

Reply via email to