Source-Changes-HG archive

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

[src/trunk]: src/sys/arch corect #include order



details:   https://anonhg.NetBSD.org/src/rev/414771d87cfd
branches:  trunk
changeset: 1005009:414771d87cfd
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 24 11:23:16 2019 +0000

description:
corect #include order

diffstat:

 sys/arch/aarch64/aarch64/genassym.cf |  14 +++++++-------
 sys/arch/arm/arm32/genassym.cf       |  14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (70 lines):

diff -r c129ad580779 -r 414771d87cfd sys/arch/aarch64/aarch64/genassym.cf
--- a/sys/arch/aarch64/aarch64/genassym.cf      Sun Nov 24 11:15:31 2019 +0000
+++ b/sys/arch/aarch64/aarch64/genassym.cf      Sun Nov 24 11:23:16 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.14 2019/09/07 11:15:25 ryo Exp $
+# $NetBSD: genassym.cf,v 1.15 2019/11/24 11:23:16 skrll Exp $
 #-
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -28,6 +28,12 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #-
 
+if defined(_KERNEL_OPT)
+include "opt_multiprocessor.h"
+include "opt_compat_netbsd.h"
+include "opt_execfmt.h"
+endif
+
 include <sys/param.h>
 include <sys/systm.h>
 include <sys/bitops.h>
@@ -52,12 +58,6 @@
 include <aarch64/armreg.h>
 include <aarch64/pte.h>
 
-if defined(_KERNEL_OPT)
-include "opt_multiprocessor.h"
-include "opt_compat_netbsd.h"
-include "opt_execfmt.h"
-endif
-
 define __HAVE_FAST_SOFTINTS    1
 
 #ifdef __HAVE_PIC_FAST_SOFTINTS
diff -r c129ad580779 -r 414771d87cfd sys/arch/arm/arm32/genassym.cf
--- a/sys/arch/arm/arm32/genassym.cf    Sun Nov 24 11:15:31 2019 +0000
+++ b/sys/arch/arm/arm32/genassym.cf    Sun Nov 24 11:23:16 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.81 2019/11/23 19:40:34 ad Exp $
+#      $NetBSD: genassym.cf,v 1.82 2019/11/24 11:23:16 skrll Exp $
 
 # Copyright (c) 1982, 1990 The Regents of the University of California.
 # All rights reserved.
@@ -30,6 +30,12 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 
+if defined(_KERNEL_OPT)
+include "opt_multiprocessor.h"
+include "opt_compat_netbsd.h"
+include "opt_execfmt.h"
+endif
+
 include <sys/param.h>
 include <sys/systm.h>
 include <sys/mbuf.h>
@@ -55,12 +61,6 @@
 include <machine/pcb.h>
 include <machine/vmparam.h>
 
-if defined(_KERNEL_OPT)
-include "opt_multiprocessor.h"
-include "opt_compat_netbsd.h"
-include "opt_execfmt.h"
-endif
-
 define __PROG32                1
 ifdef __ARM_FIQ_INDIRECT
 define __ARM_FIQ_INDIRECT      1



Home | Main Index | Thread Index | Old Index