[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=F2aRd1Edq0+QgwF5+J9So-RVYeUB5qcK5WzRd@mail.gmail.com>
Date: Sat, 25 Sep 2010 21:20:05 +0200
From: Dragos Tatulea <dragos.tatulea@...il.com>
To: linux-mips@...ux-mips.org, ralf@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Fix oprofile -Werror compile failure encountered while doing
a MIPS Malta build.
Signed-off-by: Dragos Tatulea <dragos.tatulea@...il.com>
---
drivers/oprofile/buffer_sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c
index b7e755f..a832644 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -500,7 +500,7 @@ void sync_buffer(int cpu)
{
struct mm_struct *mm = NULL;
struct mm_struct *oldmm;
- unsigned long val;
+ unsigned long uninitialized_var(val);
struct task_struct *new;
unsigned long cookie = 0;
int in_kernel = 1;
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists