Module Name:    src
Committed By:   matt
Date:           Wed Sep 19 07:57:14 UTC 2012

Modified Files:
        src/lib/libpthread/arch/arm: pthread_md.h

Log Message:
Use .inst instead of wfe/sev to shut up gas.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/arch/arm/pthread_md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpthread/arch/arm/pthread_md.h
diff -u src/lib/libpthread/arch/arm/pthread_md.h:1.7 src/lib/libpthread/arch/arm/pthread_md.h:1.8
--- src/lib/libpthread/arch/arm/pthread_md.h:1.7	Thu Aug 16 04:49:48 2012
+++ src/lib/libpthread/arch/arm/pthread_md.h	Wed Sep 19 07:57:14 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: pthread_md.h,v 1.7 2012/08/16 04:49:48 matt Exp $	*/
+/*	$NetBSD: pthread_md.h,v 1.8 2012/09/19 07:57:14 matt Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -49,8 +49,8 @@ pthread__sp(void)
 	return (ret);
 }
 
-#define pthread__smt_pause()	__asm __volatile("wfe")
-#define pthread__smt_wake()	__asm __volatile("sev")
+#define pthread__smt_pause()	__asm __volatile(".inst 0xe320f002") /* wfe */
+#define pthread__smt_wake()	__asm __volatile(".inst 0xe320f004") /* sev */
 
 #define	pthread__uc_sp(ucp)	((ucp)->uc_mcontext.__gregs[_REG_SP])
 

Reply via email to