From 5eb7693cd909511308b6c2828686d51375a3506a Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 30 Nov 2013 11:16:01 +0100 Subject: 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. --- i386/i386/trap.c | 8 ++++---- i386/i386at/kd.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'i386') 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 -- cgit v1.2.3