Commit f644d47a authored by Kumar Gala's avatar Kumar Gala Committed by Bartlomiej Zolnierkiewicz
Browse files

scc_pata: Use inline function for eieio

Move to using inline function variant of eieio instead of inline assmebly.
Signed-off-by: default avatarKumar Gala <>
Acked-by: default avatarSergei Shtylyov <>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 721e2629
......@@ -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");
in_be32((void*)(hwif->dma_base + 0x01c));
__asm__ __volatile__("eieio":::"memory");
static void
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment