]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 20:34:29 +0000 (12:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 20:34:29 +0000 (12:34 -0800)
Pull powertool update from Len Brown:
 "This updates the tree w/ the latest version of turbostat, which
  reports temperature and - on SNB and later - Watts."

Fix up semantic merge conflict as per Len.

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
  tools: Allow tools to be installed in a user specified location
  tools/power: turbostat: make Makefile a bit more capable
  tools/power x86_energy_perf_policy: close /proc/stat in for_every_cpu()
  tools/power turbostat: v3.0: monitor Watts and Temperature
  tools/power turbostat: fix output buffering issue
  tools/power turbostat: prevent infinite loop on migration error path
  x86 power: define RAPL MSRs
  tools/power/x86/turbostat: share kernel MSR #defines

1  2 
arch/x86/include/uapi/asm/msr-index.h
tools/power/x86/turbostat/Makefile

Simple merge
index f8564955419126babec85631c686df9c38c0e1bb,e48ef07156c12129a412cc311b459cca34cb58b3..f09641da40d4fd61c820b959e17c842ef3a9e27f
@@@ -1,9 -1,22 +1,22 @@@
+ CC            = $(CROSS_COMPILE)gcc
+ BUILD_OUTPUT  := $(PWD)
+ PREFIX                := /usr
+ DESTDIR               :=
  turbostat : turbostat.c
  CFLAGS +=     -Wall
 -CFLAGS +=     -I../../../../arch/x86/include/
++CFLAGS +=     -I../../../../arch/x86/include/uapi/
+ %: %.c
+       @mkdir -p $(BUILD_OUTPUT)
+       $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@
  
+ .PHONY : clean
  clean :
-       rm -f turbostat
+       @rm -f $(BUILD_OUTPUT)/turbostat
  
- install :
-       install turbostat /usr/bin/turbostat
-       install turbostat.8 /usr/share/man/man8
+ install : turbostat
+       install -d  $(DESTDIR)$(PREFIX)/bin
+       install $(BUILD_OUTPUT)/turbostat $(DESTDIR)$(PREFIX)/bin/turbostat
+       install -d  $(DESTDIR)$(PREFIX)/share/man/man8
+       install turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8