diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2013-11-28 19:30:47 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2013-11-28 19:30:47 +0000 |
commit | 25fb4604c216ffccfcefa0878938a23c630f9f20 (patch) | |
tree | 72c8c799680abd6a87e24ab50fecce6a623e968c /sys/arch/i386/pci | |
parent | 1c36bcedb109c90481f69c31953f7d4e174af0a5 (diff) |
Appease LLVM's integrated assembler.
error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq'
error: unknown token in expression
cmp -> cmpl, %cs:* -> *%cs:
ok kettenis@
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pcibios.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c index 47b5003ef27..0e9cdd13987 100644 --- a/sys/arch/i386/pci/pcibios.c +++ b/sys/arch/i386/pci/pcibios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibios.c,v 1.42 2013/10/01 20:22:12 sf Exp $ */ +/* $OpenBSD: pcibios.c,v 1.43 2013/11/28 19:30:46 brad Exp $ */ /* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */ /* @@ -346,7 +346,7 @@ pcibios_get_status(struct pcibios_softc *sc, u_int32_t *rev_maj, "pushl %%ds\n\t" "movw 4(%%edi), %%cx\n\t" "movl %%ecx, %%ds\n\t" - "lcall %%cs:*(%%edi)\n\t" + "lcall *%%cs:(%%edi)\n\t" "pop %%ds\n\t" "pop %%es\n\t" "jc 1f\n\t" @@ -399,7 +399,7 @@ pcibios_get_intr_routing(struct pcibios_softc *sc, "pushl %%ds\n\t" "movw 4(%%esi), %%cx\n\t" "movl %%ecx, %%ds\n\t" - "lcall %%cs:*(%%esi)\n\t" + "lcall *%%cs:(%%esi)\n\t" "popl %%ds\n\t" "popl %%es\n\t" "jc 1f\n\t" |