[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: linux-next: build failure after merge of the pci-current tree
Hi Jesse,

On Thu, 3 Nov 2011 12:53:25 +1100 Stephen Rothwell <> wrote:
> After merging the pci-current tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> drivers/pci/ats.c:13:26: fatal error: linux/export.h: No such file or directory
> Caused by commit 571eba1b8aa9 ("PCI: Fix compile errors with PCI_ATS and !
> PCI_IOV").

I have added that patch as a merge fix where I merge the module.h split
up tree. (Included below for Paul's benefit.)

From: Randy Dunlap <>
Date: Mon, 31 Oct 2011 10:31:01 -0700
Subject: [PATCH] PCI: Fix compile errors with PCI_ATS and !PCI_IOV

For linux-next (where the module-split tree is being worked),
drivers/pci/ats.c also needs to include <linux/export.h> to fix build

drivers/pci/ats.c:96:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/pci/ats.c:127:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'

Signed-off-by: Randy Dunlap <>
Signed-off-by: Jesse Barnes <>
drivers/pci/ats.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index f727a09..7ec56fb 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -10,6 +10,7 @@
* PASID support added by Joerg Roedel <>

+#include <linux/export.h>
#include <linux/pci-ats.h>
#include <linux/pci.h>

Stephen Rothwell
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2011-11-03 04:35    [W:0.061 / U:18.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site