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:
parent
5f9c9ae2f2
commit
3d6f4411e4
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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__
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user