[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] vpmu: Is CONFIG_SMP used anymore?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Wed, 08 Feb 2012 14:14:31 +0100
  • Delivery-date: Wed, 08 Feb 2012 13:15:08 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:Message-ID: User-Agent:MIME-Version:Content-Transfer-Encoding: Content-Type; b=HYqFLbDtsxhv8nIYswNd9zCJ5mwN8h80qT3aH2IWKnMrPQH1nVXgGfVH 8ogeUwxPX3Su5xbGBbAJyrpDhcpAho/1u4tOPS1SVT8l+F91Cs7+RUrR+ rUZ674AidalRsYyIMcnGTipXRJKFUDSfd0ypC3qGD4G+NZmWXe/VDozQ6 JTLumjWHUXtGPYBlqJDkseGWQUvIp7BtQYkWJM5yA/ml8dWsESSPEpmBp UxDu+0fXYvQbKJBkjFSks8YtkIaIF;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

while locking at the vpmu stuff I found the following stuff:

diff -r a55e0f9c7b4e xen/arch/x86/oprofile/nmi_int.c
--- a/xen/arch/x86/oprofile/nmi_int.c   Wed Feb 08 12:28:47 2012 +0100
+++ b/xen/arch/x86/oprofile/nmi_int.c   Wed Feb 08 14:11:06 2012 +0100
@@ -305,7 +305,7 @@ static int __init p4_init(char ** cpu_ty
        }
 
 #ifndef CONFIG_SMP
-       *cpu_type = "i386/p4", XENOPROF_CPU_TYPE_SIZE);
+       *cpu_type = "i386/p4";
        model = &op_p4_spec;
        return 1;
 #else


Is CONFIG_SMP always switched on? It seems nobody tested without CONFIG_SMP.
Thanks.

Dietmar.


-- 
Company details: http://ts.fujitsu.com/imprint.html

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.