From patchwork Wed Oct 23 09:54:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 21225 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E23AC23903 for ; Wed, 23 Oct 2013 09:55:42 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id m17sf1754178oag.7 for ; Wed, 23 Oct 2013 02:55:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=C+bdx1byeAN96MeQeddxxpiRgSa0zhWiHwxawxNPU4M=; b=bM4m4fTv04GKI7SCTr5Azwe6Iz6/fAXOU5axrpK5s1vO9IjW544xKMqSAqAiSbiRb2 NcY97INUP2teHlwzBYPhbptm1LLQto6qILfTm+hQX45+nbyCDti0fVYgM9rWSncmfbrj R1qqKUT6ChTD7k5+bGK43cE/2pK5pg3SXFE39Zs89+3jEihRzD6pZ3aKNVebRsMka1AV hyYnq+hopYUGfIdR5tXTBIicAvw0MpD14cmAx2ehj7ZlZ/mz7ValnRMQbT6eXS8U8GyJ eVqCwVgfRkDg7PCWlajkQJfM/2owCbIaxmOpLTvyTlYUWN3eJ3LMlzRFUeVxR9YW5Fpc EDew== X-Received: by 10.50.114.66 with SMTP id je2mr282976igb.5.1382522142258; Wed, 23 Oct 2013 02:55:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.6 with SMTP id f6ls397781qeh.3.gmail; Wed, 23 Oct 2013 02:55:42 -0700 (PDT) X-Received: by 10.58.146.71 with SMTP id ta7mr401836veb.23.1382522142132; Wed, 23 Oct 2013 02:55:42 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id ta5si3899158veb.107.2013.10.23.02.55.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 02:55:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id i3so324358vbh.26 for ; Wed, 23 Oct 2013 02:55:42 -0700 (PDT) X-Gm-Message-State: ALoCoQm6txIK0QdjhzvPN3zDSrJ6EM8hAyvCB9oMFMibWFagA7SpotBOQOeA5AJFxVdNFrN6qpHE X-Received: by 10.220.199.5 with SMTP id eq5mr424089vcb.16.1382522141912; Wed, 23 Oct 2013 02:55:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp297551vcz; Wed, 23 Oct 2013 02:55:41 -0700 (PDT) X-Received: by 10.68.129.99 with SMTP id nv3mr810866pbb.40.1382522140984; Wed, 23 Oct 2013 02:55:40 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx.google.com with ESMTPS id ln9si14958085pab.73.2013.10.23.02.55.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 02:55:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.175 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.175; Received: by mail-pd0-f175.google.com with SMTP id g10so647528pdj.6 for ; Wed, 23 Oct 2013 02:55:40 -0700 (PDT) X-Received: by 10.68.211.233 with SMTP id nf9mr679715pbc.85.1382522140409; Wed, 23 Oct 2013 02:55:40 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id zq10sm39914789pab.6.2013.10.23.02.55.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 02:55:37 -0700 (PDT) From: Tushar Behera To: linux-arm-kernel@lists.infradead.org Cc: linux@arm.linux.org.uk, nico@linaro.org, dave.martin@linaro.org, patches@linaro.org Subject: [PATCH] ARM: bL_switcher: Remove cpu_hotplug_driver_{lock, unlock}() Date: Wed, 23 Oct 2013 15:24:33 +0530 Message-Id: <1382522073-14995-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 6dedcca610c6 ("hotplug, powerpc, x86: Remove cpu_hotplug_driver_lock())" removes the the definition of cpu_hotplug_driver_{lock,unlock} APIs, thereby causing a build error. Replace these calls with {lock,unlock}_device_hotplug(). Signed-off-by: Tushar Behera Acked-by: Nicolas Pitre --- arch/arm/common/bL_switcher.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/common/bL_switcher.c b/arch/arm/common/bL_switcher.c index 63bbc4f..5774b6e 100644 --- a/arch/arm/common/bL_switcher.c +++ b/arch/arm/common/bL_switcher.c @@ -577,9 +577,9 @@ static int bL_switcher_enable(void) int cpu, ret; mutex_lock(&bL_switcher_activation_lock); - cpu_hotplug_driver_lock(); + lock_device_hotplug(); if (bL_switcher_active) { - cpu_hotplug_driver_unlock(); + unlock_device_hotplug(); mutex_unlock(&bL_switcher_activation_lock); return 0; } @@ -615,7 +615,7 @@ error: bL_activation_notify(BL_NOTIFY_POST_DISABLE); out: - cpu_hotplug_driver_unlock(); + unlock_device_hotplug(); mutex_unlock(&bL_switcher_activation_lock); return ret; } @@ -629,7 +629,7 @@ static void bL_switcher_disable(void) struct task_struct *task; mutex_lock(&bL_switcher_activation_lock); - cpu_hotplug_driver_lock(); + lock_device_hotplug(); if (!bL_switcher_active) goto out; @@ -685,7 +685,7 @@ static void bL_switcher_disable(void) bL_activation_notify(BL_NOTIFY_POST_DISABLE); out: - cpu_hotplug_driver_unlock(); + unlock_device_hotplug(); mutex_unlock(&bL_switcher_activation_lock); }