summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/lock.h
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2011-03-23 16:54:38 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2011-03-23 16:54:38 +0000
commit96b354137b8039e6c2ebd6f88c0008ecb2e4f20d (patch)
treeb34cf5e18c5986eb1ce733aad820bd3ce42c6b46 /sys/arch/sparc64/include/lock.h
parentd81ed92368684fcbb0e5ea3bcf868e6252a6ddda (diff)
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
Discussed and okay drahn@. Okay deraadt@.
Diffstat (limited to 'sys/arch/sparc64/include/lock.h')
-rw-r--r--sys/arch/sparc64/include/lock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/include/lock.h b/sys/arch/sparc64/include/lock.h
index 0e873b3955b..b42f88e820f 100644
--- a/sys/arch/sparc64/include/lock.h
+++ b/sys/arch/sparc64/include/lock.h
@@ -1,9 +1,9 @@
-/* $OpenBSD: lock.h,v 1.5 2010/04/27 21:15:01 kettenis Exp $ */
+/* $OpenBSD: lock.h,v 1.6 2011/03/23 16:54:37 pirofti Exp $ */
/* public domain */
-#ifndef _SPARC64_LOCK_H_
-#define _SPARC64_LOCK_H_
+#ifndef _MACHINE_LOCK_H_
+#define _MACHINE_LOCK_H_
#include <machine/atomic.h>
#include <machine/ctlreg.h>
@@ -53,4 +53,4 @@ __cpu_simple_unlock(__cpu_simple_lock_t *l)
#define rw_cas(p, o, n) (sparc64_casx(p, o, n) != o)
-#endif /* _SPARC64_LOCK_H_ */
+#endif /* _MACHINE_LOCK_H_ */