diff options
-rw-r--r-- | device/cons.c | 8 | ||||
-rw-r--r-- | i386/i386/trap.c | 8 | ||||
-rw-r--r-- | i386/i386at/kd.c | 2 | ||||
-rw-r--r-- | ipc/ipc_kmsg_queue.h | 2 | ||||
-rw-r--r-- | kern/act.c | 2 | ||||
-rw-r--r-- | kern/refcount.h | 2 | ||||
-rw-r--r-- | kern/task.c | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/device/cons.c b/device/cons.c index ceba7f2..b35e79f 100644 --- a/device/cons.c +++ b/device/cons.c @@ -30,7 +30,7 @@ #ifdef MACH_KMSG #include <device/io_req.h> #include <device/kmsg.h> -#endif +#endif /* MACH_KMSG */ static boolean_t cn_inited = FALSE; static struct consdev *cn_tab = 0; /* physical console device info */ @@ -55,7 +55,7 @@ void (*romputc)() = 0; static char consbuf[CONSBUFSIZE] = { 0 }; static char *consbp = consbuf; static boolean_t consbufused = FALSE; -#endif +#endif /* CONSBUFSIZE > 0 */ void cninit() @@ -108,7 +108,7 @@ cninit() } while (cbp != consbp); consbufused = FALSE; } -#endif +#endif /* CONSBUFSIZE > 0 */ cn_inited = TRUE; return; } @@ -180,5 +180,5 @@ cnputc(c) if (consbp >= &consbuf[CONSBUFSIZE]) consbp = consbuf; } -#endif +#endif /* CONSBUFSIZE > 0 */ } diff --git a/i386/i386/trap.c b/i386/i386/trap.c index e104e12..ccbc94c 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -400,7 +400,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode); if (kdb_trap(type, regs->err, regs)) return 0; } -#endif +#endif /* MACH_KDB */ exc = EXC_BREAKPOINT; code = EXC_I386_SGL; break; @@ -422,7 +422,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode); return 0; } } -#endif +#endif /* MACH_KDB */ exc = EXC_BREAKPOINT; code = EXC_I386_BPT; break; @@ -521,7 +521,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode); } return 0; } -#endif +#endif /* MACH_PV_PAGETABLES */ case T_FLOATING_POINT_ERROR: fpexterrflt(); @@ -647,4 +647,4 @@ interrupted_pc(t) iss = USER_REGS(t); return iss->eip; } -#endif /* MACH_PCSAMPLE > 0*/ +#endif /* MACH_PCSAMPLE > 0 */ diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 5605257..def8a0c 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -1197,7 +1197,7 @@ kdinit() screen rather than at the cursor position, so that's where we should start. */ kd_setpos(ONE_PAGE - ONE_LINE); printf("\n"); -#endif +#endif /* ENABLE_IMMEDIATE_CONSOLE */ cnsetleds(kd_state = KS_NORMAL); /* clear the LEDs AFTER we diff --git a/ipc/ipc_kmsg_queue.h b/ipc/ipc_kmsg_queue.h index 51ccbe2..b4b3df1 100644 --- a/ipc/ipc_kmsg_queue.h +++ b/ipc/ipc_kmsg_queue.h @@ -27,5 +27,5 @@ #define _IPC_KMSG_QUEUE_H_ struct ipc_kmsg_queue { struct ipc_kmsg *ikmq_base; }; -#endif +#endif /* _IPC_KMSG_QUEUE_H_ */ @@ -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; } |