x86, perf: P4 PMU - Fix typos in comments and style cleanup
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 21 Jul 2011 16:06:25 +0000 (20:06 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 18:41:54 +0000 (20:41 +0200)
commitf53173e47dee5f7514d264796bec58d43ed0f67f
tree43ff4034a1abffc334927ce9ed7893900a3b3328
parentbaf040a0d1ac6319725c0fe400503683ac016580
x86, perf: P4 PMU - Fix typos in comments and style cleanup

This patch:

 - fixes typos in comments and clarifies the text
 - renames obscure p4_event_alias::original and ::alter members to
   ::original and ::alternative as appropriate
 - drops parenthesis from the return of p4_get_alias_event()

No functional changes.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Link: http://lkml.kernel.org/r/20110721160625.GX7492@sun
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event_p4.h
arch/x86/kernel/cpu/perf_event_p4.c