summaryrefslogtreecommitdiff
path: root/kern/refcount.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/refcount.h')
-rw-r--r--kern/refcount.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/kern/refcount.h b/kern/refcount.h
index 7fd6cdfb..f32feb87 100644
--- a/kern/refcount.h
+++ b/kern/refcount.h
@@ -27,9 +27,7 @@
#ifndef _KERN_REFCOUNT_H_
#define _KERN_REFCOUNT_H_
-#include <kern/macro_help.h>
-
-#include "refcount.h" /*XXX*/
+#include <kern/macros.h>
/* Unless the above include file specified otherwise,
use the system-independent (unoptimized) atomic reference counter. */
@@ -65,6 +63,6 @@ typedef struct RefCount RefCount;
if (new_value == 0) { func; } \
MACRO_END
-#endif
+#endif /* MACHINE_REFCOUNT */
-#endif _KERN_REFCOUNT_H_
+#endif /* _KERN_REFCOUNT_H_ */