summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Callaway <tcallawa@redhat.com>2007-04-20 01:38:57 +0200
committerAdrian Bunk <bunk@stusta.de>2007-04-20 01:38:57 +0200
commitf1e0381bf5d781ee6c03ec7ddaa91e950869e472 (patch)
treeaeee50f415dc8fcbefe14ea4f842a011cc4c7eff /arch
parent446941875919bdbae44c814c99256a18dd181f57 (diff)
[SPARC64]: Fix inline directive in pci_iommu.c
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/pci_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_iommu.c b/arch/sparc64/kernel/pci_iommu.c
index df9a3648dbc9..199c17df55f2 100644
--- a/arch/sparc64/kernel/pci_iommu.c
+++ b/arch/sparc64/kernel/pci_iommu.c
@@ -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);