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 Mark as volatile, just to be sure.
details: https://anonhg.NetBSD.org/src/rev/f9a657a4320f
branches: trunk
changeset: 806977:f9a657a4320f
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Mar 22 21:45:12 2015 +0000
description:
Mark as volatile, just to be sure.
diffstat:
sys/arch/arm/arm32/sys_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0eaa178a3b7d -r f9a657a4320f sys/arch/arm/arm32/sys_machdep.c
--- a/sys/arch/arm/arm32/sys_machdep.c Sun Mar 22 20:32:08 2015 +0000
+++ b/sys/arch/arm/arm32/sys_machdep.c Sun Mar 22 21:45:12 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.20 2014/03/03 08:45:18 matt Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.21 2015/03/22 21:45:12 joerg Exp $ */
/*
* Copyright (c) 1995-1997 Mark Brinicombe.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.20 2014/03/03 08:45:18 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.21 2015/03/22 21:45:12 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -171,7 +171,7 @@
#ifdef _ARM_ARCH_6
if (l == curlwp) {
kpreempt_disable();
- __asm("mcr p15, 0, %0, c13, c0, 3" : : "r" (addr));
+ __asm __volatile("mcr p15, 0, %0, c13, c0, 3" : : "r" (addr));
kpreempt_enable();
}
return 0;
Home |
Main Index |
Thread Index |
Old Index