Include machine/armreg.h after machine/asm.h to ensure __ARM_ARCH is

defined.

MFC after:	1 week
Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2016-11-07 11:01:09 +00:00
parent 4f1713458d
commit e4dff2815a
5 changed files with 9 additions and 5 deletions

View File

@ -29,10 +29,10 @@
* SUCH DAMAGE.
*/
#include <machine/armreg.h>
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
#include <machine/armreg.h>
#include <machine/param.h>
.Lsheeva_cache_line_size:

View File

@ -71,10 +71,11 @@
*
* XScale assembly functions for CPU / MMU / TLB specific operations
*/
#include <machine/armreg.h>
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
#include <machine/armreg.h>
/*
* Size of the XScale core D-cache.
*/

View File

@ -73,10 +73,11 @@
* XScale core 3 assembly functions for CPU / MMU / TLB specific operations
*/
#include <machine/armreg.h>
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
#include <machine/armreg.h>
/*
* Size of the XScale core D-cache.
*/

View File

@ -37,10 +37,11 @@
*/
#include <machine/armreg.h>
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
#include <machine/armreg.h>
/*
* MODE_CHANGE_NOP should be inserted between a mode change and a
* banked register (R8--R15) access.

View File

@ -48,10 +48,11 @@
*
*/
#include <machine/armreg.h>
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
#include <machine/armreg.h>
/* To set the stack pointer for a particular mode we must switch
* to that mode update the banked r13 and then switch back.
* This routine provides an easy way of doing this for any mode