From patchwork Wed Oct 14 16:27:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 53748 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 n9EGaSeo012620 for ; Wed, 14 Oct 2009 16:36:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752048AbZJNQ2X (ORCPT ); Wed, 14 Oct 2009 12:28:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751037AbZJNQ2X (ORCPT ); Wed, 14 Oct 2009 12:28:23 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:39942 "EHLO g5t0006.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbZJNQ2W (ORCPT ); Wed, 14 Oct 2009 12:28:22 -0400 Received: from g4t0018.houston.hp.com (g4t0018.houston.hp.com [16.234.32.27]) by g5t0006.atlanta.hp.com (Postfix) with ESMTP id D6736C2A4; Wed, 14 Oct 2009 16:27:42 +0000 (UTC) Received: from ldl (linux.corp.hp.com [15.11.146.101]) by g4t0018.houston.hp.com (Postfix) with ESMTP id 72A23100D2; Wed, 14 Oct 2009 16:27:42 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 5518FCF000B; Wed, 14 Oct 2009 10:27:42 -0600 (MDT) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N91QmU4GvC+b; Wed, 14 Oct 2009 10:27:42 -0600 (MDT) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 3DFF9CF0007; Wed, 14 Oct 2009 10:27:42 -0600 (MDT) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 2492E26144; Wed, 14 Oct 2009 10:27:42 -0600 (MDT) Subject: [PATCH] x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set To: Thomas Gleixner , Ingo Molnar , Jesse Barnes , "H. Peter Anvin" From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Date: Wed, 14 Oct 2009 10:27:42 -0600 Message-ID: <20091014162742.4276.72597.stgit@bob.kio> User-Agent: StGit/0.14.3.386.gb02d MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile index d49202e..a61a7de 100644 --- a/arch/x86/pci/Makefile +++ b/arch/x86/pci/Makefile @@ -15,3 +15,7 @@ obj-$(CONFIG_X86_NUMAQ) += numaq_32.o obj-y += common.o early.o obj-y += amd_bus.o + +ifeq ($(CONFIG_PCI_DEBUG),y) +EXTRA_CFLAGS += -DDEBUG +endif