mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip. Due to -Werror, this breaks builds with gcc-4.0. Signed-off-by: Josh Triplett <josht@us.ibm.com>
This commit is contained in:
1 parent
d9837657c1
commit
6052a8fee9
1 file changed
+1
-1
+1
-1
@@ -1040,7 +1040,7 @@ static int mod_l2_entry(l2_pgentry_t *pl2e,
|
||||
unsigned int type)
|
||||
{
|
||||
l2_pgentry_t ol2e;
|
||||
unsigned long vaddr;
|
||||
unsigned long vaddr = 0;
|
||||
|
||||
if ( unlikely(!is_guest_l2_slot(type,pgentry_ptr_to_slot(pl2e))) )
|
||||
{
|
||||
|
||||