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 Improve assembler syntax.
details: https://anonhg.NetBSD.org/src/rev/8830020c8f59
branches: trunk
changeset: 325940:8830020c8f59
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Jan 12 19:37:43 2014 +0000
description:
Improve assembler syntax.
diffstat:
sys/arch/arm/arm/cpufunc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dd56f31ba2e0 -r 8830020c8f59 sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c Sun Jan 12 19:36:08 2014 +0000
+++ b/sys/arch/arm/arm/cpufunc.c Sun Jan 12 19:37:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.c,v 1.133 2014/01/04 02:58:38 joerg Exp $ */
+/* $NetBSD: cpufunc.c,v 1.134 2014/01/12 19:37:43 joerg 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.133 2014/01/04 02:58:38 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.134 2014/01/12 19:37:43 joerg Exp $");
#include "opt_compat_netbsd.h"
#include "opt_cpuoptions.h"
@@ -3249,7 +3249,7 @@
* enable clockswitching, note that this doesn't read or write to r0,
* r0 is just to make it valid asm
*/
- __asm volatile ("mcr 15, 0, r0, c15, c1, 2");
+ __asm volatile ("mcr p15, 0, r0, c15, c1, 2");
}
#endif /* CPU_SA110 */
Home |
Main Index |
Thread Index |
Old Index