perf & kvm: Clean up some of the guest profiling callback API details
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>
Tue, 20 Apr 2010 02:13:58 +0000 (10:13 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 20 Apr 2010 06:08:28 +0000 (08:08 +0200)
commitdcf46b9443ad48a227a61713adea001228925adf
tree1055614c98e8f6584e40fc4ca73ad611b5a77530
parenta1645ce12adb6c9cc9e19d7695466204e3f017fe
perf & kvm: Clean up some of the guest profiling callback API details

Fix some build bug and programming style issues:

 - use valid C
 - fix up various style details

Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Sheng Yang <sheng@linux.intel.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: oerg Roedel <joro@8bytes.org>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Zachary Amsden <zamsden@redhat.com>
Cc: zhiteng.huang@intel.com
Cc: tim.c.chen@intel.com
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
LKML-Reference: <1271729638.2078.624.camel@ymzhang.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kvm/x86.c
include/linux/perf_event.h