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] Use same data array for INTEL and AMD cpufreq handli

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Use same data array for INTEL and AMD cpufreq handling
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1308211725; x=1339747725; h=mime-version:subject:message-id:date:from:to; bh=GdDRx6PT6hJtcPWyWFv8Bw0hIfyYMlsVUm8QqrYSY9g=; b=oUF+wv4nNwTsXhif9hHFJZAFvlB972fIrmSpWlrdPgxS0ZMDlQ88/B5+ RIpdO+SOviTgIpyHKPc5wCyNGIaFH3UEYGnQu6srKq0a1BqFe9I1/bEb2 tM/g4CtID4BPO+amrllalAxhgRqX0Fc05XAqUYJEyc02Ng7sZZ5htU2M/ T3qu9mOXAwEU4nw1+n+2bt7UdkF37z9dM8yvfa3CqqtSiiA6hTrl6xoww wv/vzxiso+isWP2DeWQkIyzHJCYhb;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Use same data array for INTEL and AMD cpufreq handling, Juergen Gross <=