summaryrefslogtreecommitdiff
path: root/device/dev_master.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_master.h')
-rw-r--r--device/dev_master.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device/dev_master.h b/device/dev_master.h
index 964ae828..70d4c63f 100644
--- a/device/dev_master.h
+++ b/device/dev_master.h
@@ -30,11 +30,14 @@
* Bind an IO operation to the master CPU.
*/
+#ifndef _DEVICE_DEV_MASTER_H_
+#define _DEVICE_DEV_MASTER_H_
+
#include <cpus.h>
#if NCPUS > 1
-#include <kern/macro_help.h>
+#include <kern/macros.h>
#include <kern/cpu_number.h>
#include <kern/sched_prim.h>
#include <kern/thread.h>
@@ -58,3 +61,5 @@
#define io_release_master()
#endif NCPUS > 1
+
+#endif /* _DEVICE_DEV_MASTER_H_ */