From patchwork Tue Feb 26 15:25:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 2185981 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7D67DDF215 for ; Tue, 26 Feb 2013 15:33:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759688Ab3BZPbq (ORCPT ); Tue, 26 Feb 2013 10:31:46 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:51429 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759657Ab3BZPbo (ORCPT ); Tue, 26 Feb 2013 10:31:44 -0500 Received: by mail-pb0-f46.google.com with SMTP id uo15so2411084pbc.5 for ; Tue, 26 Feb 2013 07:31:43 -0800 (PST) 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=+us4q2DL2WxASCPx0ZoAn/8NKz3RfBJ1UiBUWM0BeW0=; b=wRv6x2YySZ3qZIb4s0kOo0sH+2mKC17Ksxh/hhJay3FsxN/cBAjr+IviAJL2sJqvep bxMozPTTXPf92rbCoKwZEzeeazQ4G9TGtWM8GYHFWTIBtJjOogPLEVW/JFarjk4e3X7L nPh33TvHKBNa8CL7zDXJo9e3unLP+uqKNxiSfYtkraYyqRs/thlmSZJ5SwmfeWleoUXQ NexhSle7zlK3Z/FQwG9ppntbi4X+J+9x5HEiMPFgzD0kYcOkHYF7RoUHDAFkq905pCwH aRZPGuLYmcEEe3dEL/awf8Pg+4Hb2PtySTeP86/DTuPVAj1jz3xMEEzVUhYy/7qwgg9I dToQ== X-Received: by 10.67.5.168 with SMTP id cn8mr2331953pad.12.1361892703777; Tue, 26 Feb 2013 07:31:43 -0800 (PST) Received: from localhost.localdomain ([114.250.77.63]) by mx.google.com with ESMTPS id gg7sm1229055pbc.45.2013.02.26.07.31.33 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 07:31:43 -0800 (PST) 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 v8 07/13] PCI, IA64: implement pcibios_{add|remove}_bus() hooks Date: Tue, 26 Feb 2013 23:25:47 +0800 Message-Id: <1361892353-14786-8-git-send-email-jiang.liu@huawei.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361892353-14786-1-git-send-email-jiang.liu@huawei.com> References: <1361892353-14786-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 00e59c7..e60aeb7 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -463,6 +464,16 @@ 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 */