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@xxxxxxxxxx>
--- linux-2.6.20.sparc64/arch/sparc64/kernel/pci_iommu.c.BAD 2007-04-13 12:35:59.000000000 -0400 +++ linux-2.6.20.sparc64/arch/sparc64/kernel/pci_iommu.c 2007-04-13 12:36:11.000000000 -0400 @@ -64,7 +64,7 @@ #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);