Displaying 1 result from an estimated 1 matches for "init_switch_stack".
2010 Sep 20
0
[PATCH] ia64: fix gcc 4.5 warnings
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 2010-09-20.orig/xen/arch/ia64/xen/domain.c 2010-08-06 08:44:33.000000000 +0200
+++ 2010-09-20/xen/arch/ia64/xen/domain.c 2010-09-20 11:01:55.000000000 +0200
@@ -565,7 +565,7 @@ static void init_switch_stack(struct vcp
{
struct pt_regs *regs = vcpu_regs (v);
struct switch_stack *sw = (struct switch_stack *) regs - 1;
- extern void ia64_ret_from_clone;
+ extern char ia64_ret_from_clone;
memset(sw, 0, sizeof(struct switch_stack) + sizeof(struct pt_regs));
sw->ar_bspstore = (unsigned long)vc...