|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 34 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/virid
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824421 -7200
# Node ID 2aa144e0963abf2cb568e7b82204a371147a4c47
# Parent 15f2822f4efd2c432ad9fdbcf39c84b3d91379ae
gcc-4.6 compile fix: xen/arch/x86/hvm/viridian.c
viridian.c: In function 'viridian_hypercall':
viridian.c:273:37: error: variable 'output_params_gpa' set but not used
[-Werror=unused-but-set-variable]
viridian.c:273:19: error: variable 'input_params_gpa' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 15f2822f4efd -r 2aa144e0963a xen/arch/x86/hvm/viridian.c
--- a/xen/arch/x86/hvm/viridian.c Thu May 19 19:00:20 2011 +0200
+++ b/xen/arch/x86/hvm/viridian.c Thu May 19 19:00:21 2011 +0200
@@ -270,7 +270,6 @@ int rdmsr_viridian_regs(uint32_t idx, ui
int viridian_hypercall(struct cpu_user_regs *regs)
{
int mode = hvm_guest_x86_mode(current);
- unsigned long input_params_gpa, output_params_gpa;
uint16_t status = HV_STATUS_SUCCESS;
union hypercall_input {
@@ -302,14 +301,10 @@ int viridian_hypercall(struct cpu_user_r
#ifdef __x86_64__
case 8:
input.raw = regs->rcx;
- input_params_gpa = regs->rdx;
- output_params_gpa = regs->r8;
break;
#endif
case 4:
input.raw = ((uint64_t)regs->edx << 32) | regs->eax;
- input_params_gpa = ((uint64_t)regs->ebx << 32) | regs->ecx;
- output_params_gpa = ((uint64_t)regs->edi << 32) | regs->esi;
break;
default:
goto out;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix: xen/arch/x86/acpi/cpu_idle.c, (continued)
- [Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix: xen/arch/x86/acpi/cpu_idle.c, Olaf Hering
- [Xen-devel] [PATCH 28 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/amd.c, Olaf Hering
- [Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel.c, Olaf Hering
- [Xen-devel] [PATCH 30 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel_cacheinfo.c, Olaf Hering
- [Xen-devel] [PATCH 32 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/emulate.c, Olaf Hering
- [Xen-devel] [PATCH 33 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/hvm.c, Olaf Hering
- [Xen-devel] [PATCH 31 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/mce.c, Olaf Hering
- [Xen-devel] [PATCH 34 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/viridian.c,
Olaf Hering <=
- [Xen-devel] [PATCH 35 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m-pod.c, Olaf Hering
- [Xen-devel] [PATCH 36 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/mem_sharing.c, Olaf Hering
- [Xen-devel] [PATCH 37 of 45] gcc-4.6 compile fix: xen/arch/x86/x86_64/mm.c, Olaf Hering
- [Xen-devel] [PATCH 38 of 45] gcc-4.6 compile fix: xen/arch/x86/mm.c, Olaf Hering
- [Xen-devel] [PATCH 39 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/vmce.c, Olaf Hering
- [Xen-devel] [PATCH 40 of 45] gcc-4.6 compile fix: xen/common/tmem.c, Olaf Hering
- [Xen-devel] [PATCH 41 of 45] gcc-4.6 compile fix: xen/common/tmem_xen.c, Olaf Hering
- [Xen-devel] [PATCH 42 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c, Olaf Hering
- [Xen-devel] [PATCH 43 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/shadow/multi.c, Olaf Hering
- [Xen-devel] [PATCH 44 of 45] gcc-4.6 compile fix: xen/arch/x86/traps.c, Olaf Hering
|
|
|
|
|