Module Name: src
Committed By: matt
Date: Fri Mar 28 21:52:53 UTC 2014
Modified Files:
src/sys/arch/arm/arm32: cpuswitch.S
Log Message:
ARM_MMU_EXTENDED support.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/arm/arm32/cpuswitch.S
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/arm/arm32/cpuswitch.S
diff -u src/sys/arch/arm/arm32/cpuswitch.S:1.82 src/sys/arch/arm/arm32/cpuswitch.S:1.83
--- src/sys/arch/arm/arm32/cpuswitch.S:1.82 Wed Feb 26 02:07:58 2014
+++ src/sys/arch/arm/arm32/cpuswitch.S Fri Mar 28 21:52:53 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuswitch.S,v 1.82 2014/02/26 02:07:58 matt Exp $ */
+/* $NetBSD: cpuswitch.S,v 1.83 2014/03/28 21:52:53 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -87,7 +87,7 @@
#include <arm/asm.h>
#include <arm/locore.h>
- RCSID("$NetBSD: cpuswitch.S,v 1.82 2014/02/26 02:07:58 matt Exp $")
+ RCSID("$NetBSD: cpuswitch.S,v 1.83 2014/03/28 21:52:53 matt Exp $")
/* LINTSTUB: include <sys/param.h> */
@@ -279,7 +279,9 @@ ENTRY(cpu_switchto)
#endif
/* Record the old lwp for pmap_activate()'s benefit */
+#ifndef ARM_MMU_EXTENDED
str r4, [r3, #CI_LASTLWP]
+#endif
/* rem: r4 = old lwp */
/* rem: r5 = new lwp's proc */