Skip to content

Commit a7be94a

Browse files
olafheringkonradwilk
authored andcommitted
xen/PVonHVM: fix compile warning in init_hvm_pv_info
After merging the xen-two tree, today's linux-next build (x86_64 allmodconfig) produced this warning: arch/x86/xen/enlighten.c: In function 'init_hvm_pv_info': arch/x86/xen/enlighten.c:1617:16: warning: unused variable 'ebx' [-Wunused-variable] arch/x86/xen/enlighten.c:1617:11: warning: unused variable 'eax' [-Wunused-variable] Introduced by commit 9d02b43 ("xen PVonHVM: use E820_Reserved area for shared_info"). Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
1 parent 394b40f commit a7be94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/enlighten.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ static void __init xen_hvm_init_shared_info(void)
15781578

15791579
static void __init init_hvm_pv_info(void)
15801580
{
1581-
uint32_t eax, ebx, ecx, edx, pages, msr, base;
1581+
uint32_t ecx, edx, pages, msr, base;
15821582
u64 pfn;
15831583

15841584
base = xen_cpuid_base();

0 commit comments

Comments
 (0)