From 66c862bc1b1afd644a8aac3fb3543fe9df206fc4 Mon Sep 17 00:00:00 2001 From: "Andrew R. Reiter" Date: Thu, 28 Feb 2002 21:52:08 +0000 Subject: - 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 --- sys/alpha/alpha/trap.c | 3 ++- sys/amd64/amd64/trap.c | 3 ++- sys/i386/i386/trap.c | 3 ++- sys/ia64/ia64/trap.c | 3 ++- sys/powerpc/aim/trap.c | 3 ++- sys/powerpc/powerpc/trap.c | 3 ++- sys/sparc64/sparc64/trap.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'sys') 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; -- cgit v1.3