diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-29 18:09:32 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-29 18:09:32 +0000 |
commit | 400e99c46f5fa56531015ba74096c3df72851d35 (patch) | |
tree | 0faef85a6b863396e8ea71feee002ee3a2782234 /sys/arch/powerpc/include/tcb.h | |
parent | 3756224bec69e72815aea2adefb844c05c376b26 (diff) |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
Diffstat (limited to 'sys/arch/powerpc/include/tcb.h')
-rw-r--r-- | sys/arch/powerpc/include/tcb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/tcb.h b/sys/arch/powerpc/include/tcb.h index 6538afcfae3..c0aa2967e47 100644 --- a/sys/arch/powerpc/include/tcb.h +++ b/sys/arch/powerpc/include/tcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcb.h,v 1.2 2011/11/09 15:35:01 kettenis Exp $ */ +/* $OpenBSD: tcb.h,v 1.3 2014/03/29 18:09:30 guenther Exp $ */ /* * Copyright (c) 2011 Philip Guenther <guenther@openbsd.org> @@ -63,7 +63,7 @@ __powerpc_read_tcb(int offset) #define TCB_GET_MEMBER(member) \ __powerpc_read_tcb(offsetof(struct thread_control_block, member)) -#define TCB_SET(tcb) __asm __volatile("mr %%r2, %0" : : "r" (tcb)) +#define TCB_SET(tcb) __asm volatile("mr %%r2, %0" : : "r" (tcb)) #endif /* 0 */ |