mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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 "spot" Callaway <tcallawa@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5c7aa6ffae
commit
24fc6f00b6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ static void __iommu_flushall(struct pci_iommu *iommu)
|
||||||
#define IOPTE_IS_DUMMY(iommu, iopte) \
|
#define IOPTE_IS_DUMMY(iommu, iopte) \
|
||||||
((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)
|
((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);
|
unsigned long val = iopte_val(*iopte);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue