Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Reorder using register_t to the poi...



details:   https://anonhg.NetBSD.org/src/rev/38bfcd74c4ca
branches:  trunk
changeset: 813996:38bfcd74c4ca
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Feb 28 22:19:01 2016 +0000

description:
Reorder using register_t to the point where it is defined.

diffstat:

 sys/arch/aarch64/include/types.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 8a2325e2a79b -r 38bfcd74c4ca sys/arch/aarch64/include/types.h
--- a/sys/arch/aarch64/include/types.h  Sun Feb 28 22:12:26 2016 +0000
+++ b/sys/arch/aarch64/include/types.h  Sun Feb 28 22:19:01 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.4 2016/01/23 22:31:19 christos Exp $ */
+/* $NetBSD: types.h,v 1.5 2016/02/28 22:19:01 joerg Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -38,12 +38,6 @@
 #include <sys/featuretest.h>
 #include <aarch64/int_types.h>
 
-#if defined(_KERNEL)
-typedef struct label_t {       /* Used by setjmp & longjmp */
-        register_t lb_reg[13]; /* x19 .. x30, sp */
-} label_t;
-#endif
-
 #if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES) || defined(_STANDALONE)
 typedef        unsigned long   vm_offset_t;    /* depreciated */
 typedef        unsigned long   vm_size_t;      /* depreciated */
@@ -69,6 +63,12 @@
 typedef unsigned long  pmc_ctr_t;
 typedef unsigned short tlb_asid_t;
 
+#if defined(_KERNEL)
+typedef struct label_t {       /* Used by setjmp & longjmp */
+        register_t lb_reg[13]; /* x19 .. x30, sp */
+} label_t;
+#endif
+
 #endif
          
 /*



Home | Main Index | Thread Index | Old Index