]> err.no Git - linux-2.6/commitdiff
scc_pata: Use inline function for eieio
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Jul 2007 23:11:53 +0000 (01:11 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Jul 2007 23:11:53 +0000 (01:11 +0200)
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>
drivers/ide/pci/scc_pata.c

index 7b87488e3daa831fee54fba1e4dc9f8d59c43b94..a96333c74bf12c4ac4b673530653b7aeed1a3911 100644 (file)
@@ -165,9 +165,9 @@ scc_ide_outbsync(ide_drive_t * drive, u8 addr, unsigned long port)
        ide_hwif_t *hwif = HWIF(drive);
 
        out_be32((void*)port, addr);
-       __asm__ __volatile__("eieio":::"memory");
+       eieio();
        in_be32((void*)(hwif->dma_base + 0x01c));
-       __asm__ __volatile__("eieio":::"memory");
+       eieio();
 }
 
 static void