]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SPARC64]: Fix inline directive in pci_iommu.c
authorTom "spot" Callaway <tcallawa@redhat.com>
Fri, 13 Apr 2007 20:35:35 +0000 (13:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2007 20:35:35 +0000 (13:35 -0700)
While building a test kernel for the new esp driver (against
git-current), I hit this bug. Trivial fix, put the inline declaration
in the right place. :)

Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_iommu.c

index 2e7f1427088ad439d3a375f5627ec28a2445de8e..7aca0f33f88592d5053932711524978822ff9b2f 100644 (file)
@@ -64,7 +64,7 @@ static void __iommu_flushall(struct pci_iommu *iommu)
 #define IOPTE_IS_DUMMY(iommu, iopte)   \
        ((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)
 
-static void inline iopte_make_dummy(struct pci_iommu *iommu, iopte_t *iopte)
+static inline void iopte_make_dummy(struct pci_iommu *iommu, iopte_t *iopte)
 {
        unsigned long val = iopte_val(*iopte);