lkml.org 
[lkml]   [2020]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] arch/x86: fix the comment of perf_sched_init()
fix the comment of perf_sched_init():
interator --> iterator

Signed-off-by: Hui Su <sh_def@163.com>
---
arch/x86/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c
index 1cbf57dc2ac8..74d430b31d78 100644
--- a/arch/x86/events/core.c
+++ b/arch/x86/events/core.c
@@ -719,7 +719,7 @@ struct perf_sched {
};

/*
- * Initialize interator that runs through all events and counters.
+ * Initialize iterator that runs through all events and counters.
*/
static void perf_sched_init(struct perf_sched *sched, struct event_constraint **constraints,
int num, int wmin, int wmax, int gpmax)
--
2.25.1

\
 
 \ /
  Last update: 2020-09-27 19:57    [W:0.040 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site