- Move a comment from being on the same line as a #ifdef to the line

following it.  This should have gone in the previous commit, but
  misviewed Bruce's patch.

Requested by: bde
This commit is contained in:
arr 2002-02-28 21:52:08 +00:00
parent 860f4ebf69
commit ed36876e15
7 changed files with 14 additions and 7 deletions

View File

@ -297,7 +297,8 @@ trap(a0, a1, a2, entry, framep)
if (user) {
sticks = td->td_kse->ke_sticks;
td->td_frame = framep;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -255,7 +255,8 @@ trap(frame)
sticks = td->td_kse->ke_sticks;
td->td_frame = &frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -255,7 +255,8 @@ trap(frame)
sticks = td->td_kse->ke_sticks;
td->td_frame = &frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -323,7 +323,8 @@ trap(int vector, int imm, struct trapframe *framep)
if (user) {
sticks = td->td_kse->ke_sticks;
td->td_frame = framep;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -226,7 +226,8 @@ trap(struct trapframe *frame)
if (user) {
sticks = td->td_kse->ke_sticks;
td->td_frame = frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -226,7 +226,8 @@ trap(struct trapframe *frame)
if (user) {
sticks = td->td_kse->ke_sticks;
td->td_frame = frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;

View File

@ -175,7 +175,8 @@ trap(struct trapframe *tf)
if ((type & T_KERNEL) == 0) {
sticks = td->td_kse->ke_sticks;
td->td_frame = tf;
#ifdef DIAGNOSTIC /* see the comment in ast() */
#ifdef DIAGNOSTIC
/* see the comment in ast() */
if (td->td_ucred != NULL)
panic("trap(): thread got a ucred while in userspace");
td->td_ucred = td->td_ucred_cache;