Remove checks for <sys/cdefs.h> being included.

These files no longer depend on the macros required when these checks
were added.

PR:		263102 (exp-run)
Reviewed by:	brooks, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D34804
This commit is contained in:
John Baldwin 2022-04-12 10:06:18 -07:00
parent 5f9c9ae2f2
commit 3d6f4411e4
11 changed files with 0 additions and 44 deletions

View File

@ -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
/*
* To express interprocessor (as opposed to processor and device) memory
* ordering constraints, use the atomic_*() functions with acquire and release

View File

@ -41,10 +41,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))

View File

@ -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>

View File

@ -43,10 +43,6 @@
#ifndef MACHINE_ARMREG_H
#define MACHINE_ARMREG_H
#ifndef _SYS_CDEFS_H_
#error Please include sys/cdefs.h before including machine/armreg.h
#endif
#define INSN_SIZE 4
#define INSN_COND_MASK 0xf0000000 /* Condition mask */
#define PSR_MODE 0x0000001f /* mode mask */

View File

@ -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

View File

@ -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))

View File

@ -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>

View File

@ -34,10 +34,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>
#ifndef __powerpc64__

View File

@ -34,10 +34,6 @@
#ifndef _MACHINE_PROFILE_H_
#define _MACHINE_PROFILE_H_
#if !defined(_KERNEL) && !defined(_SYS_CDEFS_H_)
#error this file needs sys/cdefs.h as a prerequisite
#endif
#define FUNCTION_ALIGNMENT 32
typedef u_long fptrdiff_t;

View File

@ -32,10 +32,6 @@
#ifndef _SYS_LINKER_SET_H_
#define _SYS_LINKER_SET_H_
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif
/*
* The following macros are used to declare global sets of objects, which
* are collected by the linker into a `linker_set' as defined below.

View File

@ -47,10 +47,6 @@
* XXX: {FP,SSE}*FLD and {FP,SSE}*OFF are undocumented pollution.
*/
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif
/*
* Rounding modes.
*/