[PATCH] arch/x86: fix the comment of perf_sched_init()

From: Hui Su
Date: Sun Sep 27 2020 - 13:57:01 EST


fix the comment of perf_sched_init():
interator --> iterator

Signed-off-by: Hui Su <sh_def@xxxxxxx>
---
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