diff options
| author | Andrew R. Reiter <arr@FreeBSD.org> | 2002-02-28 21:52:08 +0000 |
|---|---|---|
| committer | Andrew R. Reiter <arr@FreeBSD.org> | 2002-02-28 21:52:08 +0000 |
| commit | 66c862bc1b1afd644a8aac3fb3543fe9df206fc4 (patch) | |
| tree | 5339b6278f38db4a988b4d87a7dbcd5465a04e2b /sys/powerpc | |
| parent | 2f5c2d1e54501be96d176e518ab4f308ad57da48 (diff) | |
Notes
Diffstat (limited to 'sys/powerpc')
| -rw-r--r-- | sys/powerpc/aim/trap.c | 3 | ||||
| -rw-r--r-- | sys/powerpc/powerpc/trap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 64cbf75ca7f9..21888fa79236 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -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; diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index 64cbf75ca7f9..21888fa79236 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -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; |
