2011-04-22 17:09:10

by Justin P. Mattock

[permalink] [raw]
Subject: [PATCH]arch:x86:kernel:cpu:perf_event_p4.c Typo: change indexig to indexing.

The below patch fixes a typo in a comment.

Signed-off-by: Justin P. Mattock <[email protected]>

---
arch/x86/kernel/cpu/perf_event_p4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_p4.c b/arch/x86/kernel/cpu/perf_event_p4.c
index c2520e1..276adb9 100644
--- a/arch/x86/kernel/cpu/perf_event_p4.c
+++ b/arch/x86/kernel/cpu/perf_event_p4.c
@@ -1188,7 +1188,7 @@ static __init int p4_pmu_init(void)
{
unsigned int low, high;

- /* If we get stripped -- indexig fails */
+ /* If we get stripped -- indexing fails */
BUILD_BUG_ON(ARCH_P4_MAX_CCCR > X86_PMC_MAX_GENERIC);

rdmsr(MSR_IA32_MISC_ENABLE, low, high);
--
1.7.4.4


2011-04-22 17:12:56

by Cyrill Gorcunov

[permalink] [raw]
Subject: Re: [PATCH]arch:x86:kernel:cpu:perf_event_p4.c Typo: change indexig to indexing.

On 04/22/2011 09:08 PM, Justin P. Mattock wrote:
> The below patch fixes a typo in a comment.
>
> Signed-off-by: Justin P. Mattock <[email protected]>
>
> ---

Thanks Justin!

--
Cyrill

2011-04-25 10:13:12

by Justin P. Mattock

[permalink] [raw]
Subject: [tip:perf/core] perf events, x86, P4: Fix typo in comment

Commit-ID: fa7b69475a6c192853949ba496dd9c37b497b548
Gitweb: http://git.kernel.org/tip/fa7b69475a6c192853949ba496dd9c37b497b548
Author: Justin P. Mattock <[email protected]>
AuthorDate: Fri, 22 Apr 2011 10:08:52 -0700
Committer: Ingo Molnar <[email protected]>
CommitDate: Sun, 24 Apr 2011 13:16:04 +0200

perf events, x86, P4: Fix typo in comment

Signed-off-by: Justin P. Mattock <[email protected]>
Acked-by: Cyrill Gorcunov <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/kernel/cpu/perf_event_p4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_p4.c b/arch/x86/kernel/cpu/perf_event_p4.c
index ae31e96..f4c1da2 100644
--- a/arch/x86/kernel/cpu/perf_event_p4.c
+++ b/arch/x86/kernel/cpu/perf_event_p4.c
@@ -1187,7 +1187,7 @@ static __init int p4_pmu_init(void)
{
unsigned int low, high;

- /* If we get stripped -- indexig fails */
+ /* If we get stripped -- indexing fails */
BUILD_BUG_ON(ARCH_P4_MAX_CCCR > X86_PMC_MAX_GENERIC);

rdmsr(MSR_IA32_MISC_ENABLE, low, high);