diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-03-04 15:06:06 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 11:23:16 -0400 |
commit | 1beb6fa85ca9afaee109811a3f4a984232a32a4f (patch) | |
tree | 432ecd3c15c451e4f3027811f7ab6fed8bd99f5c /drivers/scsi/sym53c8xx_2/sym_hipd.h | |
parent | 5880f486ef733dae820724a71e3b91241c7921bd (diff) |
[SCSI] replace __inline with inline
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_hipd.h')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_hipd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h index 61d28fcfffbf..1588c90518d4 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h | |||
@@ -1096,7 +1096,7 @@ do { \ | |||
1096 | #elif SYM_CONF_DMA_ADDRESSING_MODE == 2 | 1096 | #elif SYM_CONF_DMA_ADDRESSING_MODE == 2 |
1097 | #define DMA_DAC_MASK DMA_64BIT_MASK | 1097 | #define DMA_DAC_MASK DMA_64BIT_MASK |
1098 | int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s); | 1098 | int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s); |
1099 | static __inline void | 1099 | static inline void |
1100 | sym_build_sge(struct sym_hcb *np, struct sym_tblmove *data, u64 badd, int len) | 1100 | sym_build_sge(struct sym_hcb *np, struct sym_tblmove *data, u64 badd, int len) |
1101 | { | 1101 | { |
1102 | u32 h = (badd>>32); | 1102 | u32 h = (badd>>32); |
@@ -1201,7 +1201,7 @@ dma_addr_t __vtobus(m_pool_ident_t dev_dmat, void *m); | |||
1201 | 1201 | ||
1202 | #define sym_m_pool_match(mp_id1, mp_id2) (mp_id1 == mp_id2) | 1202 | #define sym_m_pool_match(mp_id1, mp_id2) (mp_id1 == mp_id2) |
1203 | 1203 | ||
1204 | static __inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | 1204 | static inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) |
1205 | { | 1205 | { |
1206 | void *vaddr = NULL; | 1206 | void *vaddr = NULL; |
1207 | dma_addr_t baddr = 0; | 1207 | dma_addr_t baddr = 0; |
@@ -1215,7 +1215,7 @@ static __inline void *sym_m_get_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | |||
1215 | return vaddr; | 1215 | return vaddr; |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | static __inline void sym_m_free_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) | 1218 | static inline void sym_m_free_dma_mem_cluster(m_pool_p mp, m_vtob_p vbp) |
1219 | { | 1219 | { |
1220 | dma_free_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, vbp->vaddr, | 1220 | dma_free_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, vbp->vaddr, |
1221 | vbp->baddr); | 1221 | vbp->baddr); |