From patchwork Tue Jul 1 03:11:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick X-Patchwork-Id: 4456411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 37A079FA2C for ; Tue, 1 Jul 2014 03:16:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73B082020E for ; Tue, 1 Jul 2014 03:16:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B2BDA200E8 for ; Tue, 1 Jul 2014 03:16:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1oU2-0008Eq-N2; Tue, 01 Jul 2014 03:11:50 +0000 Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1oU0-0008AC-95 for linux-arm-kernel@lists.infradead.org; Tue, 01 Jul 2014 03:11:48 +0000 Received: by mail-ie0-f172.google.com with SMTP id lx4so7677536iec.3 for ; Mon, 30 Jun 2014 20:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=uhjzh+yTYKNttoitJkaU3dQ8Zrx8xN8mzEdF/mDGKM4=; b=G0rjUJiKRqJWV/4ZEUBHuuqoWA3HhfZJGuyIkY3BeE76ohzDIEqDsfk6bNrbw5+Tev 2+p9UEUzvaJA3FsHZ9FVkGgXiBJboP4Lu47WZ281gz+E5YOmVz5MPU+B8ZiRlLOJK1Fe F6ZsQtNLQCcasH1yKVZc7XKBVrd8E2lri2M+CeSdKvhQDCTvrTSdr9u7rnO7ZCookUO8 7bZMVZwwR0xJzlZcvuLGxEJyGzxPGqnPmf9npbhdUDuf3Rv9HQdj8ZDtd7a/6RESpunm AJouTNMiCIlLscGNZQhb5Rwx+hXq++r6YySjsJtSBWdyWoSRv3dVCPzeHmFUOREgjsUO cxzQ== X-Received: by 10.42.107.68 with SMTP id c4mr41959369icp.60.1404184266440; Mon, 30 Jun 2014 20:11:06 -0700 (PDT) Received: from nick-System-Product-Name.phub.net.cable.rogers.com (CPE0026f3330aca-CM0026f3330ac6.cpe.net.cable.rogers.com. [99.232.64.167]) by mx.google.com with ESMTPSA id j10sm19202235igv.17.2014.06.30.20.11.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Jun 2014 20:11:05 -0700 (PDT) From: Nicholas Krause To: ulli.kroll@googlemail.com Subject: [PATCH 1/2] Deletes arch/arm/mach-gemini/idle.c Date: Mon, 30 Jun 2014 23:11:02 -0400 Message-Id: <1404184262-6178-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140630_201148_365364_9572751A X-CRM114-Status: GOOD ( 11.56 ) X-Spam-Score: -0.1 (/) Cc: linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch deletes the above file in order to remove the function in this file that may cause races. In addition this function is no longer needed due to commit 8182a34d85698 fixing this issue. Therefore gemmi_idle is no longer needed and due to in being the only function in this file I am removing it. Signed-off-by: Nicholas Krause --- arch/arm/mach-gemini/idle.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 arch/arm/mach-gemini/idle.c diff --git a/arch/arm/mach-gemini/idle.c b/arch/arm/mach-gemini/idle.c deleted file mode 100644 index 2880f5a..0000000 --- a/arch/arm/mach-gemini/idle.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * arch/arm/mach-gemini/idle.c - */ - -#include -#include -#include - -static void gemini_idle(void) -{ - /* - * Because of broken hardware we have to enable interrupts or the CPU - * will never wakeup... Acctualy it is not very good to enable - * interrupts first since scheduler can miss a tick, but there is - * no other way around this. Platforms that needs it for power saving - * should enable it in init code, since by default it is - * disabled. - */ - - local_irq_disable(); - cpu_do_idle(); -} - -static int __init gemini_idle_init(void) -{ - arm_pm_idle = gemini_idle; - return 0; -} - -arch_initcall(gemini_idle_init);