Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2015 09:51:28 +0300
From:      Stefan Parvu <sparvu@kronometrix.org>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: compile kernel with hard float support
Message-ID:  <5610CC70.5000706@kronometrix.org>
In-Reply-To: <20151001093550.GQ11284@kib.kiev.ua>
References:  <560CF28F.4000908@kronometrix.org> <20151001101825.44341b74@bender> <560CFBCA.5010001@kronometrix.org> <20151001093550.GQ11284@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

> diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
> index 223ad96..895a14c 100644
> --- a/sys/arm/arm/vm_machdep.c
> +++ b/sys/arm/arm/vm_machdep.c
> @@ -134,7 +134,7 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
>  	pcb2->pcb_regs.sf_sp = STACKALIGN(td2->td_frame);
>  
>  	pcb2->pcb_vfpcpu = -1;
> -	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN | VFPSCR_FZ;
> +	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN;
>  
>  	tf = td2->td_frame;
>  	tf->tf_spsr &= ~PSR_C;


thanks. This works fine.


-- 
Stefan Parvu <sparvu@kronometrix.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5610CC70.5000706>