From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbbAaOI3 (ORCPT ); Sat, 31 Jan 2015 09:08:29 -0500 Received: from ou.quest-ce.net ([195.154.187.82]:45841 "EHLO ou.quest-ce.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752073AbbAaOI0 (ORCPT ); Sat, 31 Jan 2015 09:08:26 -0500 Message-ID: <1422713299.3030.23.camel@opteya.com> From: Yann Droneaud To: Jiang Liu , Joerg Roedel , Tony Luck , Fenghua Yu Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Date: Sat, 31 Jan 2015 15:08:19 +0100 Organization: OPTEYA Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10 (3.12.10-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:1810:f055:8e70:5aff:fe2f:2d74 X-SA-Exim-Mail-From: ydroneaud@opteya.com Subject: ia64: implicit declaration of functions since change on X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on ou.quest-ce.net) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, While trying to conduct some regression testing, I've hit the following build issue for ia64: CC arch/ia64/kernel/pci-dma.o ../arch/ia64/kernel/pci-dma.c: In function 'pci_iommu_init': ../arch/ia64/kernel/pci-dma.c:41:3: error: implicit declaration of function 'intel_iommu_init' [-Werror=implicit-function-declaration] intel_iommu_init(); ^ ../arch/ia64/kernel/pci-dma.c: In function 'pci_iommu_alloc': ../arch/ia64/kernel/pci-dma.c:103:2: error: implicit declaration of function 'detect_intel_iommu' [-Werror=implicit-function-declaration] detect_intel_iommu(); ^ It should be noted Kconfig complain with the following: warning: (IA64) selects PM which has unmet direct dependencies (PM_SLEEP || PM_RUNTIME) warning: (IA64_DIG_VTD) selects INTEL_IOMMU which has unmet direct dependencies (IOMMU_SUPPORT && PCI_MSI && ACPI && (X86 || IA64_GENERIC)) warning: (IA64) selects PM which has unmet direct dependencies (PM_SLEEP || PM_RUNTIME) warning: (IA64_DIG_VTD) selects INTEL_IOMMU which has unmet direct dependencies (IOMMU_SUPPORT && PCI_MSI && ACPI && (X86 || IA64_GENERIC)) Bissection report the following commit as the root cause of the broken build: 8594d83261d14754288ef00993f0971131ff08eb is the first bad commit commit 8594d83261d14754288ef00993f0971131ff08eb Author: Jiang Liu Date: Fri Jul 11 14:19:32 2014 +0800 iommu/vt-d: Simplify include/linux/dmar.h Simplify include/linux/dmar.h a bit based on the fact that both CONFIG_INTEL_IOMMU and CONFIG_IRQ_REMAP select CONFIG_DMAR_TABLE. Signed-off-by: Jiang Liu Signed-off-by: Joerg Roedel Regards. -- Yann Droneaud OPTEYA