From 3c29cc18dea5cd6c8a1b77a4fb5328ea1afdb59d Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 19 Sep 2012 07:57:14 +0000 Subject: Use .inst instead of wfe/sev to shut up gas. --- lib/libpthread/arch/arm/pthread_md.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libpthread') diff --git a/lib/libpthread/arch/arm/pthread_md.h b/lib/libpthread/arch/arm/pthread_md.h index e6082e5e8c0..827a75a9d64 100644 --- a/lib/libpthread/arch/arm/pthread_md.h +++ b/lib/libpthread/arch/arm/pthread_md.h @@ -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]) -- cgit