Fix

arch/ia64/kernel/process.c:503: warning: 'ip' may be used uninitialized in this 
function

--

Signed-Off-By: Ian Wienand <[EMAIL PROTECTED]>

diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -500,7 +500,7 @@ copy_thread (int nr, unsigned long clone
 static void
 do_copy_task_regs (struct task_struct *task, struct unw_frame_info *info, void 
*arg)
 {
-       unsigned long mask, sp, nat_bits = 0, ip, ar_rnat, urbs_end, cfm;
+       unsigned long mask, sp, nat_bits = 0, ip = 0, ar_rnat, urbs_end, cfm;
        elf_greg_t *dst = arg;
        struct pt_regs *pt;
        char nat;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to