Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Move parts of cpu.h that are not needed b...



details:   https://anonhg.NetBSD.org/src/rev/c6708fe498b9
branches:  trunk
changeset: 789395:c6708fe498b9
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 18 06:32:15 2013 +0000

description:
Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>

diffstat:

 sys/arch/arm/arm32/cpuswitch.S |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 00b9a5fa46d8 -r c6708fe498b9 sys/arch/arm/arm32/cpuswitch.S
--- a/sys/arch/arm/arm32/cpuswitch.S    Sun Aug 18 06:28:18 2013 +0000
+++ b/sys/arch/arm/arm32/cpuswitch.S    Sun Aug 18 06:32:15 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuswitch.S,v 1.78 2013/08/18 06:28:18 matt Exp $      */
+/*     $NetBSD: cpuswitch.S,v 1.79 2013/08/18 06:32:15 matt Exp $      */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -84,11 +84,10 @@
 #include "opt_lockdebug.h"
 
 #include "assym.h"
-#include <machine/asm.h>
-#include <machine/cpu.h>
-#include <machine/frame.h>
+#include <arm/asm.h>
+#include <arm/locore.h>
 
-       RCSID("$NetBSD: cpuswitch.S,v 1.78 2013/08/18 06:28:18 matt Exp $")
+       RCSID("$NetBSD: cpuswitch.S,v 1.79 2013/08/18 06:32:15 matt Exp $")
 
 /* LINTSTUB: include <sys/param.h> */
        



Home | Main Index | Thread Index | Old Index