diff options
| author | Joshua Oreman | 2012-07-24 00:07:52 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-07-24 00:20:56 +0200 |
| commit | fb7c022c2c72c4e3a549cb7a9157e60ef2e42b09 (patch) | |
| tree | 5e7fa4a04ae5d99635cc926ca53765d4f3bc5e85 /src/arch | |
| parent | [build] Fix building under OpenBSD (diff) | |
| download | ipxe-fb7c022c2c72c4e3a549cb7a9157e60ef2e42b09.tar.gz ipxe-fb7c022c2c72c4e3a549cb7a9157e60ef2e42b09.tar.xz ipxe-fb7c022c2c72c4e3a549cb7a9157e60ef2e42b09.zip | |
[tcpip] Fix building under Cygwin
Cygwin's assembler treats '/' as a comment character.
Reported-by: Steve Goodrich <steve.goodrich@se-eng.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/x86/core/x86_tcpip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/core/x86_tcpip.c b/src/arch/x86/core/x86_tcpip.c index b4e7c3b83..8a4ce5152 100644 --- a/src/arch/x86/core/x86_tcpip.c +++ b/src/arch/x86/core/x86_tcpip.c @@ -123,7 +123,7 @@ uint16_t x86_tcpip_continue_chksum ( uint16_t partial, "\nx86_tcpip_loop_end:\n\t" "loop x86_tcpip_loop_start\n\t" ".equ x86_tcpip_loop_step_size, " - " ( ( x86_tcpip_loop_end - x86_tcpip_loop_start ) / 16 )\n\t" + " ( ( x86_tcpip_loop_end - x86_tcpip_loop_start ) >> 4 )\n\t" /* Checksum remaining whole words */ "mov %13, %3\n\t" |
