summaryrefslogtreecommitdiff
path: root/sys/external/bsd/common/include/linux
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-12-19 10:56:30 +0000
committerriastradh <riastradh@NetBSD.org>2021-12-19 10:56:30 +0000
commit1b856e7c5b6b9792bfec2b6d1d01fc35afbda6f6 (patch)
treef376b3f936358a429ac2163258433ca3005bc102 /sys/external/bsd/common/include/linux
parentc52ca757e89bf10bb09b32b574db164ef66365f1 (diff)
Define Linux byte order macros __BIG_ENDIAN/__LITTLE_ENDIAN.
Diffstat (limited to 'sys/external/bsd/common/include/linux')
-rw-r--r--sys/external/bsd/common/include/linux/kernel.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/external/bsd/common/include/linux/kernel.h b/sys/external/bsd/common/include/linux/kernel.h
index b309a7e832d..f07eae99dc6 100644
--- a/sys/external/bsd/common/include/linux/kernel.h
+++ b/sys/external/bsd/common/include/linux/kernel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.39 2021/12/19 10:51:17 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.40 2021/12/19 10:56:30 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -36,7 +36,6 @@
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/endian.h>
#include <lib/libkern/libkern.h>
@@ -55,12 +54,6 @@
#define oops_in_progress (panicstr != NULL)
-#if BYTE_ORDER == BIG_ENDIAN
-#define __BIG_ENDIAN _BIG_ENDIAN
-#else
-#define __LITTLE_ENDIAN _LITTLE_ENDIAN
-#endif
-
#define IS_BUILTIN(option) (1) /* Probably... */
#define IS_ENABLED(option) (option)
#define IS_REACHABLE(option) (option)