From patchwork Fri Apr 12 15:44:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 2436921 Return-Path: X-Original-To: patchwork-linux-acpi@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 AA3193FD1A for ; Fri, 12 Apr 2013 15:49:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756415Ab3DLPrM (ORCPT ); Fri, 12 Apr 2013 11:47:12 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:55444 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756597Ab3DLPrK (ORCPT ); Fri, 12 Apr 2013 11:47:10 -0400 Received: by mail-pb0-f41.google.com with SMTP id mc17so1500892pbc.28 for ; Fri, 12 Apr 2013 08:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=U8EOUS2uYISnKHJD4TAsgEni7yJjaGkw+zx3tsa0LSI=; b=EtCPsHyuhH3hupWJmbuM2zd0jW+QxCIzojEbYa/3QShWUSqsmIOLnRDpTB5OWUnjlC K87xkClVDnIqCIhlgAuS9HxOUtzzn8C3pQvYHSayuB85yfQt5VVequxlEiMSSvX1EkGo QzcJ1miYCIPoGLUWoWVFBdy0EfDcejhCduQgciTGe4xH0+Iu4MgOHFoqHrRnv+Nu4zxK p3KeAQPR3hYYE97RSOCJSKevd5R+TYzNGkyPIJwEEenRwixX65wLkk5Q3Utyt+3so9t8 mdzAzF4bSSjs7sqN9jdnFZH2Egi9g/Xz6jrb0BAjVDx7QNeqUar8VSS936mtlRmK/H/1 sw9g== X-Received: by 10.68.212.168 with SMTP id nl8mr3113005pbc.43.1365781629537; Fri, 12 Apr 2013 08:47:09 -0700 (PDT) Received: from localhost.localdomain ([114.250.74.212]) by mx.google.com with ESMTPS id wz9sm9048741pbc.5.2013.04.12.08.47.01 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 08:47:08 -0700 (PDT) From: Jiang Liu To: Bjorn Helgaas , "Rafael J . Wysocki" Cc: Jiang Liu , Yinghai Lu , Yijing Wang , Jiang Liu , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Greg Kroah-Hartman , ACPI Devel Maling List , Toshi Kani , Myron Stowe , "Rafael J. Wysocki" , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Subject: [PATCH v9 08/16] PCI, IA64: implement pcibios_{add|remove}_bus() hooks Date: Fri, 12 Apr 2013 23:44:22 +0800 Message-Id: <1365781470-32379-9-git-send-email-jiang.liu@huawei.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365781470-32379-1-git-send-email-jiang.liu@huawei.com> References: <1365781470-32379-1-git-send-email-jiang.liu@huawei.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Implement pcibios_{add|remove}_bus() hooks for IA64 platforms. Signed-off-by: Jiang Liu Signed-off-by: Yijing Wang Cc: Yinghai Lu Cc: "Rafael J. Wysocki" Cc: Toshi Kani Cc: Tony Luck Cc: Fenghua Yu Cc: linux-ia64@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/ia64/pci/pci.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 60532ab..de1474f 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -458,6 +459,16 @@ void pcibios_fixup_bus(struct pci_bus *b) platform_pci_fixup_bus(b); } +void pcibios_add_bus(struct pci_bus *bus) +{ + acpi_pci_add_bus(bus); +} + +void pcibios_remove_bus(struct pci_bus *bus) +{ + acpi_pci_remove_bus(bus); +} + void pcibios_set_master (struct pci_dev *dev) { /* No special bus mastering setup handling */