Message ID | 1391017513-12995-6-git-send-email-nicolas.pitre@linaro.org |
---|---|
State | Accepted |
Commit | 16f8b05abe33575b5fc0833cab1286bd6227f255 |
Headers | show
Return-Path: <patchwork-forward+bncBCE6L2HOQQPRBCX5USLQKGQEYW2G3RQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2FC21202FA for <linaro@patches.linaro.org>; Wed, 29 Jan 2014 17:46:51 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id w20sf4610609vbb.3 for <linaro@patches.linaro.org>; Wed, 29 Jan 2014 09:46:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe :content-transfer-encoding; bh=08cWL6AT9MFpukT9XcwL+p98AwZjT+4uvpm2Gbwhfeo=; b=b7LUR98YpI6q5Crag/KZG/tvPbXFtR2yYQqdcbvHvqFlj+U8Eo2hntVM+qv+Tu4Qgs hyBjWNlnzwRGuVrjvy7Qpq8WIBW1VvdgSnYJ4o1VEw7cq0bh+zoGvAKBUph8Evk7R/8a hoMp+mgNIwUc1P0atXZ47NsiPtZPqQ8botMhz4LfEoaMZGADZG9gUB1fITHBqbSaHt6X fSWDZqycZfxlRv+0SmsG4m3AyNbVYM+fvJRySwXLAiNVBpxlyg2uoOJWIavWH/iKshHF fVaDsahQZRu09YwBMU9PAQE4JdMV2nZ7wYWNEnYysakAxmZSc403YiEHY+FlepYEk28y nDVA== X-Gm-Message-State: ALoCoQn+3uzT0JzTesf8zcNulL8M7MdsZwamccCuor9BthlRQc3gmQj/Lx9mcTTvJhGmlAGreSAB X-Received: by 10.58.154.5 with SMTP id vk5mr3427539veb.32.1391017610116; Wed, 29 Jan 2014 09:46:50 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.52 with SMTP id j49ls225273qge.7.gmail; Wed, 29 Jan 2014 09:46:49 -0800 (PST) X-Received: by 10.52.30.167 with SMTP id t7mr1259707vdh.36.1391017609957; Wed, 29 Jan 2014 09:46:49 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id tt2si1017218vdc.61.2014.01.29.09.46.49 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 09:46:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so1393364vcb.32 for <patchwork-forward@linaro.org>; Wed, 29 Jan 2014 09:46:49 -0800 (PST) X-Received: by 10.58.132.203 with SMTP id ow11mr7711884veb.1.1391017609886; Wed, 29 Jan 2014 09:46:49 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp132692vcz; Wed, 29 Jan 2014 09:46:49 -0800 (PST) X-Received: by 10.66.232.7 with SMTP id tk7mr9338776pac.94.1391017608814; Wed, 29 Jan 2014 09:46:48 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si3447368pbb.24.2014.01.29.09.46.48; Wed, 29 Jan 2014 09:46:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752913AbaA2Rqk (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Wed, 29 Jan 2014 12:46:40 -0500 Received: from relais.videotron.ca ([24.201.245.36]:21485 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbaA2RpX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Jan 2014 12:45:23 -0500 Received: from yoda.home ([66.130.143.177]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0N0600IRCBZJOTG0@VL-VM-MR006.ip.videotron.ca>; Wed, 29 Jan 2014 12:45:19 -0500 (EST) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 5EE572DA0700; Wed, 29 Jan 2014 12:45:19 -0500 (EST) From: Nicolas Pitre <nicolas.pitre@linaro.org> To: Russell King <linux@arm.linux.org.uk>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Preeti U Murthy <preeti@linux.vnet.ibm.com>, Paul Mundt <lethal@linux-sh.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org Subject: [PATCH v2 5/6] X86: remove redundant cpuidle_idle_call() Date: Wed, 29 Jan 2014 12:45:12 -0500 Message-id: <1391017513-12995-6-git-send-email-nicolas.pitre@linaro.org> X-Mailer: git-send-email 1.8.4.108.g55ea5f6 In-reply-to: <1391017513-12995-1-git-send-email-nicolas.pitre@linaro.org> References: <1391017513-12995-1-git-send-email-nicolas.pitre@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nicolas.pitre@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-transfer-encoding: 7BIT |
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 3fb8d95ab8..4505e2a950 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -298,10 +298,7 @@ void arch_cpu_idle_dead(void) */ void arch_cpu_idle(void) { - if (cpuidle_idle_call()) - x86_idle(); - else - local_irq_enable(); + x86_idle(); } /*