aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-07-19 19:11:53 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:53 -0400
commitf644d47af3834b603d909c212287d0c21ec3ebbb (patch)
tree37917436b87390bd8fb162094b8fe3fba7119343 /drivers/ide/pci/scc_pata.c
parent721e2629fa2167c0e5a9f10d704b1fee1621a8cb (diff)
scc_pata: Use inline function for eieio
Move to using inline function variant of eieio instead of inline assmebly. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Cc: kou.ishizaki@toshiba.co.jp Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index 7b87488e3daa..a96333c74bf1 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -165,9 +165,9 @@ scc_ide_outbsync(ide_drive_t * drive, u8 addr, unsigned long port)
165 ide_hwif_t *hwif = HWIF(drive); 165 ide_hwif_t *hwif = HWIF(drive);
166 166
167 out_be32((void*)port, addr); 167 out_be32((void*)port, addr);
168 __asm__ __volatile__("eieio":::"memory"); 168 eieio();
169 in_be32((void*)(hwif->dma_base + 0x01c)); 169 in_be32((void*)(hwif->dma_base + 0x01c));
170 __asm__ __volatile__("eieio":::"memory"); 170 eieio();
171} 171}
172 172
173static void 173static void