ia64/linux-2.6.18-xen.hg

view scripts/Makefile.xen.awk @ 798:b02a90bf5bbc

ACPI: Backport missing part for T-State MSR support

Part of below kernel commit was missed while packporting T-State
support.

commit f79f06ab9f86d7203006d2ec8992ac80df36a34e
Author: Zhao Yakui <yakui.zhao@intel.com>
Date: Thu Nov 15 17:06:36 2007 +0800

ACPI: Enable MSR (FixedHW) support for T-States

Add throttling control via MSR when T-states uses
the FixHW Control Status registers.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

Signed-off-by: Wei Gang <gang.wei@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 02 10:53:59 2009 +0000 (2009-03-02)
parents 50477b1b3016
children
line source
1 BEGIN {
2 is_rule = 0
3 }
5 /^[[:space:]]*#/ {
6 next
7 }
9 /^[[:space:]]*$/ {
10 if (is_rule)
11 print("")
12 is_rule = 0
13 next
14 }
16 /:[[:space:]]*%\.[cS][[:space:]]/ {
17 line = gensub(/%.([cS])/, "%-xen.\\1", "g", $0)
18 line = gensub(/(single-used-m)/, "xen-\\1", "g", line)
19 print line
20 is_rule = 1
21 next
22 }
24 /^[^\t]$/ {
25 if (is_rule)
26 print("")
27 is_rule = 0
28 next
29 }
31 is_rule {
32 print $0
33 next
34 }