minor inline fix for sparc64
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. :)
Signed-off-by Tom "spot" Callaway <[email protected]>
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);
David Miller
AppliedFrom: "Tom \"spot\" Callaway" <[email protected]>
Date: Fri, 13 Apr 2007 12:10:32 -0500
Quoted 5 lines
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 <[email protected]>
Applied, thanks Tom.