projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721e262
)
scc_pata: Use inline function for eieio
author
Kumar Gala
<
[email protected]
>
Thu, 19 Jul 2007 23:11:53 +0000
(
01:11
+0200)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
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 <
[email protected]
>
Cc:
[email protected]
Acked-by: Sergei Shtylyov <
[email protected]
>
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
drivers/ide/pci/scc_pata.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/scc_pata.c
b/drivers/ide/pci/scc_pata.c
index 7b87488e3daa831fee54fba1e4dc9f8d59c43b94..a96333c74bf12c4ac4b673530653b7aeed1a3911 100644
(file)
--- 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)
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