diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-28 17:10:57 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-28 17:10:57 +0000 |
commit | 9066ad3cb5870c3dabff0da5152982bb5fce4159 (patch) | |
tree | ac8b30ececfad7bf1afbc94cc3f483a2059496c9 /sys/i386/include/endian.h | |
parent | caddaf3bdc9e0cd10d255114a88c4a12b4516483 (diff) | |
download | FreeBSD-src-9066ad3cb5870c3dabff0da5152982bb5fce4159.zip FreeBSD-src-9066ad3cb5870c3dabff0da5152982bb5fce4159.tar.gz |
Whitespace fixes so thre 386 versoion of __uint8_swap_uint32 is easier to
read.
Diffstat (limited to 'sys/i386/include/endian.h')
-rw-r--r-- | sys/i386/include/endian.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h index f929b64..3f96741 100644 --- a/sys/i386/include/endian.h +++ b/sys/i386/include/endian.h @@ -83,8 +83,10 @@ __uint8_swap_uint32(__uint32_t __x) #if defined(_KERNEL) && (defined(I486_CPU) || defined(I586_CPU) || defined(I686_CPU)) && !defined(I386_CPU) __asm ("bswap %0" : "=r" (__x) : "0" (__x)); #else - __asm ("xchgb %h1, %b1\n\trorl $16, %1\n\txchgb %h1, %b1" - : "=q" (__x) : "0" (__x)); + __asm ("xchgb %h1, %b1\n\t" + "rorl $16, %1\n\t" + "xchgb %h1, %b1" + : "=q" (__x) : "0" (__x)); #endif return __x; } |