- 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:
parent
860f4ebf69
commit
ed36876e15
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user