summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-30 11:16:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:06:55 +0900
commit5eb7693cd909511308b6c2828686d51375a3506a (patch)
tree63b1a2d4673f76dfa220b89c91b81fa0f2b9ef06 /kern
parentfc4381de43acbf602e30ab31f73e47230caf2638 (diff)
Add comments after endifs
* device/cons.c [MACH_KMSG]: Likewise. [CONSBUFSIZE > 0]: Likewise. * i386/i386/trap.c [MACH_KDB]: Likewise. [MACH_PV_PAGETABLES]: Likewise. * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. * kern/act.c [ACTWATCH]: Likewise. * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. * kern/task.c [FAST_TAS]: Likewise.
Diffstat (limited to 'kern')
-rw-r--r--kern/act.c2
-rw-r--r--kern/refcount.h2
-rw-r--r--kern/task.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/kern/act.c b/kern/act.c
index 321ff98..d76fe0e 100644
--- a/kern/act.c
+++ b/kern/act.c
@@ -1114,6 +1114,6 @@ get_next_act(sp)
return act;
}
}
-#endif
+#endif /* ACTWATCH */
#endif /* MIGRATING_THREADS */
diff --git a/kern/refcount.h b/kern/refcount.h
index 7fd6cdf..c527547 100644
--- a/kern/refcount.h
+++ b/kern/refcount.h
@@ -65,6 +65,6 @@ typedef struct RefCount RefCount;
if (new_value == 0) { func; } \
MACRO_END
-#endif
+#endif /* MACHINE_REFCOUNT */
#endif _KERN_REFCOUNT_H_
diff --git a/kern/task.c b/kern/task.c
index 933a90e..8fe3672 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -1206,6 +1206,6 @@ task_ras_control(
break;
}
task_unlock(task);
-#endif
+#endif /* FAST_TAS */
return ret;
}