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

[Xen-devel] [PATCH] Use same data array for INTEL and AMD cpufreq handling


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Thu, 16 Jun 2011 10:06:21 +0200
  • Delivery-date: Thu, 16 Jun 2011 01:09:37 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:Date:From:To; b=nt1OADhSEXtrJ3mBgOEbmymCSgvxUeVyidqeDNQodKPX8E+b1iSm2yqW LhtMtnMqLfNEV2bjtsL/nNppn1R2qe14Olu1cJkG3j3clp0K2Xny4ZVGd +IXcADMPVVXzXIu7ou03nmEr5iBP77HX63V0+V3QsgV5ab3Bii8MPDIGX 2oBxfFHW9aBm421y/YXEeqKIDg3NNUTRgrapBBONAwW6i313iZsA3u2W9 SH9GhAwJ/yodI04n/oJC9A8hcNuas;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The AMD and INTEL specific parts of cpufreq handling used different per-cpu
data structures with nearly identical semantics.
Fold the two structures into one by adding a generic architecture data item.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


3 files changed, 32 insertions(+), 39 deletions(-)
xen/arch/x86/acpi/cpufreq/cpufreq.c  |   30 +++++++++++++--------------
xen/arch/x86/acpi/cpufreq/powernow.c |   37 ++++++++++++----------------------
xen/include/acpi/cpufreq/cpufreq.h   |    4 ++-


Attachment: xen-work.patch
Description: Text Data

_______________________________________________
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®.