[SPARC64]: Fix inline directive in pci_iommu.c
authorTom Callaway <tcallawa@redhat.com>
Thu, 19 Apr 2007 23:38:57 +0000 (01:38 +0200)
committerAdrian Bunk <bunk@stusta.de>
Thu, 19 Apr 2007 23:38:57 +0000 (01:38 +0200)
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 Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/sparc64/kernel/pci_iommu.c

index df9a3648dbc98e6fa4ec043d8b0da053c2180f60..199c17df55f2eb1a2a5e851081024e4cd8d94ca6 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);