From 3aabea5c7072f20a24bbf61a8782debd3bb5da3d Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 9 Apr 2001 05:35:32 +0000 Subject: [PATCH] Remove '_KERNEL' conditionalizing. This break userland apps. Noted by Steve Allan. --- sys/arch/m68k/include/byte_swap.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/arch/m68k/include/byte_swap.h b/sys/arch/m68k/include/byte_swap.h index dd66c61fcee8..9b7b2d505c51 100644 --- a/sys/arch/m68k/include/byte_swap.h +++ b/sys/arch/m68k/include/byte_swap.h @@ -1,4 +1,4 @@ -/* $NetBSD: byte_swap.h,v 1.2 2001/04/04 19:53:05 is Exp $ */ +/* $NetBSD: byte_swap.h,v 1.3 2001/04/09 05:35:32 leo Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -39,8 +39,6 @@ #ifndef M68K_BYTE_SWAP_H_ #define M68K_BYTE_SWAP_H_ -#if defined(_KERNEL) - #define __byte_swap_word(var) \ ({ u_int16_t __var = (var); \ __asm__ __volatile ("rorw #8, %0" \ @@ -54,6 +52,4 @@ : "=d" (__var) : "0" (__var)); \ __var; }) -#endif /* defined(_KERNEL) */ - #endif /* !M68K_BYTE_SWAP_H_ */