Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Include cpufunc_proto.h before locore.h so ...



details:   https://anonhg.NetBSD.org/src/rev/0b8d568a473c
branches:  trunk
changeset: 795572:0b8d568a473c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 18 23:50:59 2014 +0000

description:
Include cpufunc_proto.h before locore.h so that we define cpu_cpwait first.
XXX: this is a mess.

diffstat:

 sys/arch/arm/arm/cpufunc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ee4a77e9b1b2 -r 0b8d568a473c sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c        Fri Apr 18 22:25:58 2014 +0000
+++ b/sys/arch/arm/arm/cpufunc.c        Fri Apr 18 23:50:59 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.c,v 1.146 2014/04/14 20:50:46 matt Exp $       */
+/*     $NetBSD: cpufunc.c,v 1.147 2014/04/18 23:50:59 christos Exp $   */
 
 /*
  * arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.146 2014/04/14 20:50:46 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.147 2014/04/18 23:50:59 christos Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_cpuoptions.h"
@@ -65,9 +65,9 @@
 
 #include <uvm/uvm.h>
 
+#include <arm/cpufunc_proto.h>
 #include <arm/cpuconf.h>
 #include <arm/locore.h>
-#include <arm/cpufunc_proto.h>
 
 #ifdef CPU_XSCALE_80200
 #include <arm/xscale/i80200reg.h>



Home | Main Index | Thread Index | Old Index