From patchwork Wed Feb 25 01:25:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 5876601 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 250969F37F for ; Wed, 25 Feb 2015 01:29:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4ABE72037A for ; Wed, 25 Feb 2015 01:29:30 +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 0BA3520375 for ; Wed, 25 Feb 2015 01:29:29 +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 1YQQjM-0004hD-8x; Wed, 25 Feb 2015 01:25:40 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQQjG-0001ku-J4 for linux-arm-kernel@lists.infradead.org; Wed, 25 Feb 2015 01:25:36 +0000 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 99E17140B50; Wed, 25 Feb 2015 01:25:11 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 8CEF1140B53; Wed, 25 Feb 2015 01:25:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from linux-kernel-memory-lab-01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lauraa@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 031F7140B50; Wed, 25 Feb 2015 01:25:10 +0000 (UTC) From: Laura Abbott To: Lorenzo Pieralisi , Will Deacon , Catalin Marinas Subject: [PATCH] drivers: cpuidle: Explictly include proc-fns.h for cpuidle-arm64 Date: Tue, 24 Feb 2015 17:25:06 -0800 Message-Id: <1424827506-12245-1-git-send-email-lauraa@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150224_172536_187159_D7A9861A X-CRM114-Status: GOOD ( 11.64 ) X-Spam-Score: -0.0 (/) Cc: Laura Abbott , linux-arm 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-Virus-Scanned: ClamAV using ClamSMTP cpuidle-arm64.c fails to compile with CONFIG_ARM64_64K_PAGES=y /kernel/drivers/cpuidle/cpuidle-arm64.c: In function "arm64_enter_idle_state" /kernel/drivers/cpuidle/cpuidle-arm64.c:42:3: error: implicit declaration of function "cpu_do_idle" [-Werror=implicit-function-declaration] cpu_do_idle(); ^ Explicitly add the header file with the declaration of cpu_do_idle. Signed-off-by: Laura Abbott Acked-by: Lorenzo Pieralisi --- Not sure how long this has been broken, bisect between v3.19 and master showed 6b00f7efb5303418c231994c91fb8239f5ada260 as the first bad commit which isn't particularly helpful. Probably some header shuffling. --- drivers/cpuidle/cpuidle-arm64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpuidle/cpuidle-arm64.c b/drivers/cpuidle/cpuidle-arm64.c index 80704b9..f1d5422 100644 --- a/drivers/cpuidle/cpuidle-arm64.c +++ b/drivers/cpuidle/cpuidle-arm64.c @@ -19,6 +19,7 @@ #include #include +#include #include #include "dt_idle_states.h"