From patchwork Sun Feb 10 05:58:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 2121591 X-Patchwork-Delegate: lenb@kernel.org Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id A32C33FCD5 for ; Sun, 10 Feb 2013 06:01:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752486Ab3BJF6p (ORCPT ); Sun, 10 Feb 2013 00:58:45 -0500 Received: from mail-vb0-f49.google.com ([209.85.212.49]:45241 "EHLO mail-vb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461Ab3BJF6n (ORCPT ); Sun, 10 Feb 2013 00:58:43 -0500 Received: by mail-vb0-f49.google.com with SMTP id s24so3183987vbi.36 for ; Sat, 09 Feb 2013 21:58:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=wxg7YVGo56PO3NaDj9RdE/JRPep6RF8zl/fEQGJNZwc=; b=AP4u96OkrwhO65JCg1qnkpeDn18dynKw0xuIOvyu9/WkaphQxG8nUuoccrSkZllFvu 4nqDIshJhCcPFZbpkMSET5VMG/q/BGCgHl/2jtz8BJlnXmc6FrNUR4fxT138jJOx//OM Sb8N+XTvMFxnPUsplBlYPJQmVuWRXL3I0Hj8oTdiMZM6RiJP/fYkf56Ky+pzJF2kVDxz Iw6hkMvlXalgYCkKNCt0oIuZC6gUygnElrePGoKE4TBShjbG03aXrYmInWRx2cHpbbPv 9T8ASahh6MwjFdM3MGM0e+FhYcjri771O6J3r+WAH3wLMoUpFsP2+mcVFytcRPNv1utb tkDA== X-Received: by 10.52.73.73 with SMTP id j9mr11750472vdv.124.1360475922833; Sat, 09 Feb 2013 21:58:42 -0800 (PST) Received: from x980.localdomain6 (pool-108-7-58-246.bstnma.fios.verizon.net. [108.7.58.246]) by mx.google.com with ESMTPS id p7sm42173052vdt.2.2013.02.09.21.58.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 09 Feb 2013 21:58:42 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown , linux-ia64@vger.kernel.org Subject: [PATCH 09/16] ia64 idle: delete pm_idle Date: Sun, 10 Feb 2013 00:58:16 -0500 Message-Id: <7dc2a692a27e9c3da86acf150c4a89024e48bd05.1360475150.git.len.brown@intel.com> X-Mailer: git-send-email 1.8.1.3.535.ga923c31 In-Reply-To: <1360475903-30007-1-git-send-email-lenb@kernel.org> References: <1360475903-30007-1-git-send-email-lenb@kernel.org> In-Reply-To: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> References: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Len Brown pm_idle() on ia64 was a synonym for default_idle(). So simply invoke default_idle() directly. Signed-off-by: Len Brown Cc: linux-ia64@vger.kernel.org --- arch/ia64/kernel/process.c | 3 --- arch/ia64/kernel/setup.c | 1 - 2 files changed, 4 deletions(-) diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index 31360cb..e34f565 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c @@ -57,8 +57,6 @@ void (*ia64_mark_idle)(int); unsigned long boot_option_idle_override = IDLE_NO_OVERRIDE; EXPORT_SYMBOL(boot_option_idle_override); -void (*pm_idle) (void); -EXPORT_SYMBOL(pm_idle); void (*pm_power_off) (void); EXPORT_SYMBOL(pm_power_off); @@ -301,7 +299,6 @@ cpu_idle (void) if (mark_idle) (*mark_idle)(1); - idle = pm_idle; if (!idle) idle = default_idle; (*idle)(); diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index aaefd9b..2029cc0 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -1051,7 +1051,6 @@ cpu_init (void) max_num_phys_stacked = num_phys_stacked; } platform_cpu_init(); - pm_idle = default_idle; } void __init