diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-07-01 19:09:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-07-01 19:09:21 +0000 |
commit | cae0fcf514e4dd790743cbe38f6ef0c3a96c7c22 (patch) | |
tree | baef4139ad33d090ff3d39402ca5019637dbf164 /sys | |
parent | 1ef850aae7fb905ac70b7dbe45d3449215d8511c (diff) |
Move more fpe-related stuff in #ifdef ARMFPU blocks.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/cpu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/arm/cpu.c b/sys/arch/arm/arm/cpu.c index 072c468133e..d290a6fcc71 100644 --- a/sys/arch/arm/arm/cpu.c +++ b/sys/arch/arm/arm/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.7 2006/05/29 17:01:42 drahn Exp $ */ +/* $OpenBSD: cpu.c,v 1.8 2007/07/01 19:09:20 miod Exp $ */ /* $NetBSD: cpu.c,v 1.56 2004/04/14 04:01:49 bsh Exp $ */ @@ -73,9 +73,11 @@ void identify_arm_cpu(struct device *dv, struct cpu_info *); void cpu_attach(struct device *dv) { +#ifdef ARMFPE int usearmfpe; usearmfpe = 1; /* when compiled in, its enabled by default */ +#endif curcpu()->ci_dev = dv; |