ia64: fix gcc 4.5 warnings

Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
Keir Fraser committed 2010-09-20 18:51:19 +01:00
1 parent b5aadd4248
commit 4be742c4db
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -565,7 +565,7 @@ static void init_switch_stack(struct vcpu *v)
{
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)vcpu_to_rbs_bottom(v);
@@ -728,7 +728,7 @@ vcpu_to_switch_stack(struct vcpu* v)
static int
vcpu_has_not_run(struct vcpu* v)
{
extern void ia64_ret_from_clone;
extern char ia64_ret_from_clone;
struct switch_stack *sw = vcpu_to_switch_stack(v);
return (sw == (struct switch_stack *)(vcpu_regs(v)) - 1) &&
+1 -1
View File
@@ -104,7 +104,7 @@ void machine_reboot_kexec(xen_kexec_image_t *image)
static int machine_kexec_get_xen(xen_kexec_range_t *range)
{
range->start = range->start = ia64_tpa(_text);
range->start = ia64_tpa(_text);
range->size = (unsigned long)_end - (unsigned long)_text;
return 0;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.