mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
721e2629fa
commit
f644d47af3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue