From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752630AbbE0ORf (ORCPT ); Wed, 27 May 2015 10:17:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35984 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751440AbbE0ORb (ORCPT ); Wed, 27 May 2015 10:17:31 -0400 Date: Wed, 27 May 2015 07:16:22 -0700 From: tip-bot for Huang Rui Message-ID: Cc: torvalds@linux-foundation.org, hpa@zytor.com, luto@amacapital.net, peterz@infradead.org, ray.huang@amd.com, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, bp@suse.de, tglx@linutronix.de, brgerst@gmail.com, mingo@kernel.org, bp@alien8.de Reply-To: bp@alien8.de, tglx@linutronix.de, brgerst@gmail.com, mingo@kernel.org, ray.huang@amd.com, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, bp@suse.de, torvalds@linux-foundation.org, hpa@zytor.com, peterz@infradead.org, luto@amacapital.net In-Reply-To: <1432628901-18044-7-git-send-email-bp@alien8.de> References: <1432022472-2224-5-git-send-email-ray.huang@amd.com> <1432628901-18044-7-git-send-email-bp@alien8.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/core] sched/x86: Drop repeated word from mwait_idle() comment Git-Commit-ID: 0fb0328d3458ff2d6ffbb280b75053c99a8a4b1f X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 0fb0328d3458ff2d6ffbb280b75053c99a8a4b1f Gitweb: http://git.kernel.org/tip/0fb0328d3458ff2d6ffbb280b75053c99a8a4b1f Author: Huang Rui AuthorDate: Tue, 26 May 2015 10:28:09 +0200 Committer: Ingo Molnar CommitDate: Wed, 27 May 2015 14:38:04 +0200 sched/x86: Drop repeated word from mwait_idle() comment A single "default" is fine. Signed-off-by: Huang Rui [ Fix another typo and reflow comment. ] Signed-off-by: Borislav Petkov Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1432022472-2224-5-git-send-email-ray.huang@amd.com Link: http://lkml.kernel.org/r/1432628901-18044-7-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar --- arch/x86/kernel/process.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 6e338e3..c648139 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -445,11 +445,10 @@ static int prefer_mwait_c1_over_halt(const struct cpuinfo_x86 *c) } /* - * MONITOR/MWAIT with no hints, used for default default C1 state. - * This invokes MWAIT with interrutps enabled and no flags, - * which is backwards compatible with the original MWAIT implementation. + * MONITOR/MWAIT with no hints, used for default C1 state. This invokes MWAIT + * with interrupts enabled and no flags, which is backwards compatible with the + * original MWAIT implementation. */ - static void mwait_idle(void) { if (!current_set_polling_and_test()) {