diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2015-05-11 08:57:23 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2015-05-11 08:57:23 +0000 |
commit | f71b16e05ec05c24270938cc7d660af872c18a05 (patch) | |
tree | e6edd7207d6888049641320164c5de8d9ff052a0 /sys/arm/arm/fusu.S | |
parent | a40f7273f17a12f3962427936dad4d54bbc9d925 (diff) | |
download | src-f71b16e05ec05c24270938cc7d660af872c18a05.tar.gz src-f71b16e05ec05c24270938cc7d660af872c18a05.zip |
Move to use __ARM_ARCH in more places in the kernel.
Notes
Notes:
svn path=/head/; revision=282763
Diffstat (limited to 'sys/arm/arm/fusu.S')
-rw-r--r-- | sys/arm/arm/fusu.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/arm/fusu.S b/sys/arm/arm/fusu.S index dec49ed0a5c3..ab7fb58301b5 100644 --- a/sys/arm/arm/fusu.S +++ b/sys/arm/arm/fusu.S @@ -33,6 +33,7 @@ * */ +#include <machine/acle-compat.h> #include <machine/asm.h> #include <machine/armreg.h> #include "assym.s" @@ -40,7 +41,7 @@ __FBSDID("$FreeBSD$"); .syntax unified -#ifdef _ARM_ARCH_6 +#if __ARM_ARCH >= 6 #define GET_PCB(tmp) \ mrc p15, 0, tmp, c13, c0, 4; \ add tmp, tmp, #(TD_PCB) @@ -68,7 +69,7 @@ EENTRY_NP(casuword32) stmfd sp!, {r4, r5} adr r4, .Lcasuwordfault str r4, [r3, #PCB_ONFAULT] -#ifdef _ARM_ARCH_6 +#if __ARM_ARCH >= 6 1: cmp r0, #KERNBASE mvnhs r0, #0 |