aboutsummaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-12 17:06:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-04-12 17:06:18 +0000
commit3d6f4411e45f49dc0fef6d428615df5107ce2e5d (patch)
tree22620eb5a9b65264bf9fee2873a11ccce725587f /sys/i386
parent5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914 (diff)
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/atomic.h4
-rw-r--r--sys/i386/include/cpufunc.h4
-rw-r--r--sys/i386/include/pcpu.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h
index af6d323e0396..c8fc051bc944 100644
--- a/sys/i386/include/atomic.h
+++ b/sys/i386/include/atomic.h
@@ -30,10 +30,6 @@
#ifndef _MACHINE_ATOMIC_H_
#define _MACHINE_ATOMIC_H_
-#ifndef _SYS_CDEFS_H_
-#error this file needs sys/cdefs.h as a prerequisite
-#endif
-
#include <sys/atomic_common.h>
#ifdef _KERNEL
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index 59eb3cc982b3..cd7ba31bdb22 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -40,10 +40,6 @@
#ifndef _MACHINE_CPUFUNC_H_
#define _MACHINE_CPUFUNC_H_
-#ifndef _SYS_CDEFS_H_
-#error this file needs sys/cdefs.h as a prerequisite
-#endif
-
struct region_descriptor;
#define readb(va) (*(volatile uint8_t *) (va))
diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
index 8fbcb2032337..3e86c50b7619 100644
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -31,10 +31,6 @@
#ifndef _MACHINE_PCPU_H_
#define _MACHINE_PCPU_H_
-#ifndef _SYS_CDEFS_H_
-#error "sys/cdefs.h is a prerequisite for this file"
-#endif
-
#include <machine/segments.h>
#include <machine/tss.h>