summaryrefslogtreecommitdiff
path: root/include/asm-sparc/iommu.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-10-04 04:37:02 +0400
committerDavid S. Miller <davem@davemloft.net>2005-10-04 04:37:02 +0400
commit3115624eda34d0f4e673fc6bcea36b7ad701ee33 (patch)
treea81c9e0f3d84a96725e109452d4ddc90f95b513a /include/asm-sparc/iommu.h
parented39f731ab2e77e58122232f6e27333331d7793d (diff)
downloadlinux-3115624eda34d0f4e673fc6bcea36b7ad701ee33.tar.xz
[SPARC]: "extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/iommu.h')
-rw-r--r--include/asm-sparc/iommu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/iommu.h b/include/asm-sparc/iommu.h
index 8171362d56b9..70c589c05a10 100644
--- a/include/asm-sparc/iommu.h
+++ b/include/asm-sparc/iommu.h
@@ -108,12 +108,12 @@ struct iommu_struct {
struct bit_map usemap;
};
-extern __inline__ void iommu_invalidate(struct iommu_regs *regs)
+static inline void iommu_invalidate(struct iommu_regs *regs)
{
regs->tlbflush = 0;
}
-extern __inline__ void iommu_invalidate_page(struct iommu_regs *regs, unsigned long ba)
+static inline void iommu_invalidate_page(struct iommu_regs *regs, unsigned long ba)
{
regs->pageflush = (ba & PAGE_MASK);
}