WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:48 +0200
Delivery-date: Thu, 19 May 2011 12:34:16 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832216; l=1151; s=domk; d=aepfle.de; h=To:From:Date:References:In-Reply-To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:X-RZG-CLASS-ID: X-RZG-AUTH; bh=ihilSKbAPTZh63IruLYP3zrmRoo=; b=iyoj/e+pfv8MYTMuuFMfyZxaLnXxH85VWqDmL1LOjfVgDOgi8pNRNROQ0y2OdjjMFKQ AjHE9Nubff0cn4qodBp2265U/ijYhF9/Eziy5tXuiUEfCXwy5FeGDyvM3+P6gXazxoqXr 2zdHMi4JSEq5n6Cs8YkN7RPYDJgFjMTNDh8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1305831919@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1305831919@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824415 -7200
# Node ID 30c6a8c61c90f896ba2ef9ee2f4f417cea7c1ffa
# Parent  c8e4a190705be60bae9cff30c90a8a4a307979ec
gcc-4.6 compile fix: xen/arch/x86/cpu/intel.c

intel.c: In function 'set_cpuidmask':
intel.c:36:14: error: variable 'extra' set but not used 
[-Werror=unused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r c8e4a190705b -r 30c6a8c61c90 xen/arch/x86/cpu/intel.c
--- a/xen/arch/x86/cpu/intel.c  Thu May 19 19:00:14 2011 +0200
+++ b/xen/arch/x86/cpu/intel.c  Thu May 19 19:00:15 2011 +0200
@@ -33,8 +33,6 @@ struct movsl_mask movsl_mask __read_most
  */
 static void __devinit set_cpuidmask(const struct cpuinfo_x86 *c)
 {
-       const char *extra = "";
-
        if (!~(opt_cpuid_mask_ecx & opt_cpuid_mask_edx &
               opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx))
                return;
@@ -51,7 +49,6 @@ static void __devinit set_cpuidmask(cons
                      opt_cpuid_mask_edx);
                if (!~(opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx))
                        return;
-               extra = "extended ";
                break;
 /* 
  * CPU supports this feature if the processor signature meets the following:

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>