diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-19 17:18:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-19 17:18:44 +0000 |
commit | 436ba3a8320b9ab26391c20991c5af97cb283c26 (patch) | |
tree | 1625a3e0348de9eb40f784b75f4838cb399ad8e4 /sys/arch/alpha/include | |
parent | 098d7c42e9831c2192e39634bf500c29b72f34a9 (diff) |
only make this interface available to the kernel for now, discussed witha
rt and such; tested and ok miod drahn
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r-- | sys/arch/alpha/include/atomic.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/atomic.h b/sys/arch/alpha/include/atomic.h index 0e9bec993fb..ef634f7c1a5 100644 --- a/sys/arch/alpha/include/atomic.h +++ b/sys/arch/alpha/include/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.4 2007/02/06 17:13:33 art Exp $ */ +/* $OpenBSD: atomic.h,v 1.5 2007/02/19 17:18:40 deraadt Exp $ */ /* $NetBSD: atomic.h,v 1.7 2001/12/17 23:34:57 thorpej Exp $ */ /*- @@ -45,6 +45,8 @@ #ifndef _ALPHA_ATOMIC_H_ #define _ALPHA_ATOMIC_H_ +#if defined(_KERNEL) + /* * atomic_setbits_ulong: * @@ -189,4 +191,5 @@ atomic_clearbits_int(__volatile unsigned int *uip, unsigned int v) *uip &= ~v; } +#endif /* defined(_KERNEL) */ #endif /* _ALPHA_ATOMIC_H_ */ |