Stop including sys/types.h from arm's machine/atomic.h, fix the places

where atomic.h was being included without ensuring that types.h (via
param.h) was included first, as required by atomic(9).
This commit is contained in:
Ian Lepore 2017-02-11 01:07:46 +00:00
parent 333b68ab52
commit 9fc7a59f2a
5 changed files with 4 additions and 5 deletions

View file

@ -43,8 +43,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>

View file

@ -43,8 +43,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>

View file

@ -27,8 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/stack.h>

View file

@ -39,7 +39,6 @@
#ifndef _MACHINE_ATOMIC_H_
#define _MACHINE_ATOMIC_H_
#include <sys/types.h>
#include <machine/armreg.h>
#ifndef _KERNEL

View file

@ -28,8 +28,8 @@
#ifndef __VCHI_BSD_H__
#define __VCHI_BSD_H__
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/conf.h>
#include <sys/lock.h>