1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

Don't enable the FIQ in enable_interrupts() if F32_bit is not specified.

This has been committed by mistake.

Reported by:	ssouhlal
This commit is contained in:
Olivier Houchard 2006-06-01 16:17:44 +00:00
parent d230fe5161
commit 27b45ae819
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159145

View File

@ -460,7 +460,7 @@ __set_cpsr_c(u_int bic, u_int eor)
(mask) & (I32_bit | F32_bit)))
#define enable_interrupts(mask) \
(__set_cpsr_c((mask | F32_bit) & (I32_bit | F32_bit), 0))
(__set_cpsr_c((mask) & (I32_bit | F32_bit), 0))
#define restore_interrupts(old_cpsr) \
(__set_cpsr_c((I32_bit | F32_bit), (old_cpsr) & (I32_bit | F32_bit)))