aboutsummaryrefslogtreecommitdiff
path: root/sys/libkern/alpha/byte_swap_2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libkern/alpha/byte_swap_2.S')
-rw-r--r--sys/libkern/alpha/byte_swap_2.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/libkern/alpha/byte_swap_2.S b/sys/libkern/alpha/byte_swap_2.S
index 8111918d9b4c..613eef645bf4 100644
--- a/sys/libkern/alpha/byte_swap_2.S
+++ b/sys/libkern/alpha/byte_swap_2.S
@@ -30,8 +30,8 @@
#include <machine/asm.h>
-#if !defined(ALIAS) || !defined(NAME)
-#error ALIAS or NAME not defined
+#ifndef NAME
+#error NAME not defined
#endif
/*
@@ -39,7 +39,6 @@
*
* Argument is an unsigned 2-byte integer (u_int16_t).
*/
-XLEAF(ALIAS, 1)
LEAF(NAME, 1) /* a0 contains 0x0123 */
extbl a0, 0, t0 /* t0 = 0x 23 */
extbl a0, 1, t1 /* t1 = 0x 01 */