From patchwork Thu May 11 15:15:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 761181 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wNxY93NZ2z9ryk for ; Fri, 12 May 2017 01:17:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="s/8y9NPp"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wNxY92C5ZzDqJt for ; Fri, 12 May 2017 01:17:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="s/8y9NPp"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wNxWM1Jz2zDqG4 for ; Fri, 12 May 2017 01:15:43 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="s/8y9NPp"; dkim-atps=neutral Received: by mail-pg0-x241.google.com with SMTP id u187so3918532pgb.1 for ; Thu, 11 May 2017 08:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0+B+V0vuEC0+pxCgtYzWRNwrc4jd2XmDev1HHcwFZ1o=; b=s/8y9NPpkw9D96JvfjvuFuZxc5w67R5p8obFmuI4SRQ6JSg1exMIwZYlgwAL2ON2Xj 0EazmxPN9gVTu5ZhZBH8I9cbkQglmUraDT0Lg5lmH9MvXPt5sTmK8ShVhtq+uSCoUoKZ hk3mmTad2RN3bhZ98WIMRInJJ6LBvs6gHbzmnvXG11rO5drlCA+iZbOtii2sh4/JpJ9h Fqj6u+m1Rpp/M5jQSx3PrzLKWjSAhw+rgdoqJNM6aWbA7HMDVIIC+FQvTBdxE2s8rQA3 FWck0baVUm9O2FP/JWH/cH97XDp89dId2Et6391AWSrdbmbqUpA0lAwQ+4P++7MlnYnE OvLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0+B+V0vuEC0+pxCgtYzWRNwrc4jd2XmDev1HHcwFZ1o=; b=o1QQR4SwQzKDNwCaoyXJYmF/TNsZaq81upBkq3tkb0HK6kn3tJGWTIa1T1O1F2GXYg rp4qU9JZ+Ig6wZpUDet5o5RkRgO867sgcz0W5h/JtUefp50S919B3YNQbVCNDUx9Oo1L PAa+68RGPkdQzcLD+WUQsJphpsGBlRzgXITR29KwazpupdU8juGP40DteHrdyFIzMT4g z0qBNO5d5JNLjUTC1pr/LUC3jIcub0FLh9G4GqEnLZ2NwvZDEz9lCf1wMddEN+8lE1UL V/OtkucC+YLncBozbQxRqGmTZbczlbT7RysX7kt/w/iyY0x1Pg1j+8cepoBUN/2lD5Zy NTeQ== X-Gm-Message-State: AODbwcDTFkMus+CC4BqfXAsY3Fr7a2Vtjl7jh06f1mzXYc+k6U0rLx1h jOJ6coQJzXeGrrr7 X-Received: by 10.84.217.218 with SMTP id d26mr1156545plj.47.1494515740943; Thu, 11 May 2017 08:15:40 -0700 (PDT) Received: from roar.au.ibm.com ([210.185.118.93]) by smtp.gmail.com with ESMTPSA id e64sm864757pfl.49.2017.05.11.08.15.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 May 2017 08:15:39 -0700 (PDT) From: Nicholas Piggin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/3] powerpc/powernv: Fix CPU_HOTPLUG=n idle.c compile error Date: Fri, 12 May 2017 01:15:20 +1000 Message-Id: <20170511151522.4772-1-npiggin@gmail.com> X-Mailer: git-send-email 2.11.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Gautham R . Shenoy" , Nicholas Piggin Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Fixes: a7cd88da97 ("powerpc/powernv: Move CPU-Offline idle state invocation from smp.c to idle.c") Cc: Gautham R. Shenoy Signed-off-by: Nicholas Piggin Acked-by: Gautham R. Shenoy --- arch/powerpc/platforms/powernv/idle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/platforms/powernv/idle.c b/arch/powerpc/platforms/powernv/idle.c index 445f30a2c5ef..0c21747ed7e0 100644 --- a/arch/powerpc/platforms/powernv/idle.c +++ b/arch/powerpc/platforms/powernv/idle.c @@ -261,6 +261,7 @@ static u64 pnv_deepest_stop_psscr_val; static u64 pnv_deepest_stop_psscr_mask; static bool deepest_stop_found; +#ifdef CONFIG_HOTPLUG_CPU /* * pnv_cpu_offline: A function that puts the CPU into the deepest * available platform idle state on a CPU-Offline. @@ -293,6 +294,7 @@ unsigned long pnv_cpu_offline(unsigned int cpu) return srr1; } +#endif /* * Power ISA 3.0 idle initialization.