mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
- 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
2f5c2d1e54
commit
66c862bc1b
7 changed files with 14 additions and 7 deletions
|
|
@ -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 a new issue