diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-07-21 12:06:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-21 14:41:54 -0400 |
commit | f53173e47dee5f7514d264796bec58d43ed0f67f (patch) | |
tree | 43ff4034a1abffc334927ce9ed7893900a3b3328 /arch/x86/include/asm/perf_event_p4.h | |
parent | baf040a0d1ac6319725c0fe400503683ac016580 (diff) |
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>
Diffstat (limited to 'arch/x86/include/asm/perf_event_p4.h')
-rw-r--r-- | arch/x86/include/asm/perf_event_p4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/perf_event_p4.h b/arch/x86/include/asm/perf_event_p4.h index 4d86c86178f..4f7e67e2345 100644 --- a/arch/x86/include/asm/perf_event_p4.h +++ b/arch/x86/include/asm/perf_event_p4.h | |||
@@ -133,7 +133,7 @@ | |||
133 | 133 | ||
134 | /* | 134 | /* |
135 | * In case of event aliasing we need to preserve some | 135 | * In case of event aliasing we need to preserve some |
136 | * caller bits otherwise the mapping won't be complete. | 136 | * caller bits, otherwise the mapping won't be complete. |
137 | */ | 137 | */ |
138 | #define P4_CONFIG_EVENT_ALIAS_MASK \ | 138 | #define P4_CONFIG_EVENT_ALIAS_MASK \ |
139 | (p4_config_pack_escr(P4_CONFIG_MASK_ESCR) | \ | 139 | (p4_config_pack_escr(P4_CONFIG_MASK_ESCR) | \ |