summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2011-04-05 20:29:41 +0200
committerDave Jones <davej@redhat.com>2011-04-05 18:51:04 -0400
commit23ac5c6c87710e3e77e1a9ad6d5fd23438797563 (patch)
tree35aa3220f1f35d0920472f3522dc2c2890353a5e /Makefile
parentc781dbc4f8959b7fbb1dacb7cce1ca12252fd0eb (diff)
x86info, AMD: powernow: Display boosted Pstate information
Fix output on systems with boosted Pstates. Indicate whether CPB is enabled. Display all Pstates (including the boosted ones). Example: Boosting enabled Number of boost states: 1 Pstate-Pb0: 3600MHz (boost state) Pstate-P0: 3200MHz (current) Pstate-P1: 2400MHz Pstate-P2: 1600MHz Pstate-P3: 800MHz In addition get rid of fid and vid information for HW Pstates. It's too CPU family specific. (Use lsmsr instead for this kind of information.) Note: this patch adds a new requirement to link x86info against libpci which usually is installed with pciutils (http://mj.ucw.cz/pciutils.html). Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 66fc195..cd5c4a7 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ X86INFO_SRC = \
X86INFO_OBJS = $(X86INFO_SRC:%.c=%.o)
x86info: $(X86INFO_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o x86info $(X86INFO_OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o x86info $(X86INFO_OBJS) -lpci