diff options
| author | matt <matt@NetBSD.org> | 2012-09-19 07:57:14 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2012-09-19 07:57:14 +0000 |
| commit | 3c29cc18dea5cd6c8a1b77a4fb5328ea1afdb59d (patch) | |
| tree | 5ffeee113eea6cc18cb4a2831dde848efb8272b9 /lib/libpthread | |
| parent | c1007429bd8f25de2d393eb5f0a53a2c65cdb8b5 (diff) | |
Use .inst instead of wfe/sev to shut up gas.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/arch/arm/pthread_md.h | 6 |
1 files changed, 3 insertions, 3 deletions
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]) |
