[ltt-dev] [PATCH 2/5] sh: fix redeclaration of ‘pid’ within process_<32/64>.
Giuseppe CAVALLARO
peppe.cavallaro at st.com
Thu Jul 30 05:54:46 EDT 2009
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro at st.com>
---
arch/sh/kernel/process_32.c | 1 -
arch/sh/kernel/process_64.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c
index 0c81f90..f341108 100644
--- a/arch/sh/kernel/process_32.c
+++ b/arch/sh/kernel/process_32.c
@@ -116,7 +116,6 @@ ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
/* Don't use this in BL=1(cli). Or else, CPU resets! */
int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
{
- int pid;
struct pt_regs regs;
int pid;
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index f63a0ae..e3f0118 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -325,7 +325,6 @@ ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
*/
int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
{
- int pid;
struct pt_regs regs;
int pid;
--
1.6.0.4
More information about the lttng-dev
mailing list