Skip to contentSkip to conversation

minor inline fix for sparc64

PATCH Applied Tom "spot" Callaway 2 participants 2 messages Apr 13, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 minor inline fix for sparc64

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. :)

arch/sparc64/kernel/pci_iommu.c renamed from arch/sparc64/kernel/pci_iommu.c.BAD +1 -1
@@ -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);