summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-02-28 21:52:08 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-02-28 21:52:08 +0000
commit66c862bc1b1afd644a8aac3fb3543fe9df206fc4 (patch)
tree5339b6278f38db4a988b4d87a7dbcd5465a04e2b /sys
parent2f5c2d1e54501be96d176e518ab4f308ad57da48 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/trap.c3
-rw-r--r--sys/amd64/amd64/trap.c3
-rw-r--r--sys/i386/i386/trap.c3
-rw-r--r--sys/ia64/ia64/trap.c3
-rw-r--r--sys/powerpc/aim/trap.c3
-rw-r--r--sys/powerpc/powerpc/trap.c3
-rw-r--r--sys/sparc64/sparc64/trap.c3
7 files changed, 14 insertions, 7 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index af9be44ea56c..a09c91be1ddb 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -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;
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index b1561dc84ab9..7f1e607afc13 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -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;
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index b1561dc84ab9..7f1e607afc13 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -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;
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index bf5c2cd9987a..18204351fa1a 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -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;
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;
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index 6302d45b4e1c..466f3daea7d9 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -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;