From patchwork Fri Oct 2 05:15:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakib Mullick X-Patchwork-Id: 51291 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n925FRQh022907 for ; Fri, 2 Oct 2009 05:15:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbZJBFPW (ORCPT ); Fri, 2 Oct 2009 01:15:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755643AbZJBFPW (ORCPT ); Fri, 2 Oct 2009 01:15:22 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:55390 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361AbZJBFPV (ORCPT ); Fri, 2 Oct 2009 01:15:21 -0400 Received: by pxi9 with SMTP id 9so867389pxi.4 for ; Thu, 01 Oct 2009 22:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=c6ZP/bKfqGz1l0mSpis6KekhnYdUzTc/dS+kgw5Dgxc=; b=hSLi93Lv4tv3XN98ZEDa6p0FLMIIHQ9iLJNPttwRsKQ/QEvzhlxa53Hh1wDTS3xqDT SrSdQFu7JW/KCMHGFl5Y50G3JulQ8uRylQM4quvu3osVgZkAHC9hgyvr7/l+ikcp+zeh vEUoSKNo6tkYHOpzzH7MIdMDYC+Rn5j1/qJYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=nzFbn98leCXPhyF4poscqdZohNdSGOHfE5eF201qJrMdw4+7Wp9n1VUHfpeieRJPMc jA3Kh/0MctidhwSiqXom9GzwMpN//Dh2h+B0jF97ZbEVf2jlZWuCgaYK6vrNLBjf07ZN iyWKAUKWg+faEpdx4p2QeCWFN9AxNNf9noi5M= MIME-Version: 1.0 Received: by 10.143.136.2 with SMTP id o2mr297719wfn.330.1254460524266; Thu, 01 Oct 2009 22:15:24 -0700 (PDT) Date: Fri, 2 Oct 2009 11:15:24 +0600 Message-ID: Subject: [PATCH] acpi: Annote acpi_processor_add with __cpuinit. From: Rakib Mullick To: linux-acpi@vger.kernel.org, LKML , Andrew Morton Cc: Len Brown Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org --- linus/drivers/acpi/processor_core.c 2009-09-28 12:04:54.000000000 +0600 +++ rakib/drivers/acpi/processor_core.c 2009-09-29 23:21:13.000000000 +0600 @@ -770,7 +770,7 @@ static struct notifier_block acpi_cpu_no .notifier_call = acpi_cpu_soft_notify, }; -static int acpi_processor_add(struct acpi_device *device) +static int __cpuinit acpi_processor_add(struct acpi_device *device) { struct acpi_processor *pr = NULL; int result = 0;