summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.4.92/arm-thumb2.patch
blob: 351fa35c720765406c552e62b39da0bc3b9aa683 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur linux-5.4.92.orig/arch/arm/vfp/vfphw.S linux-5.4.92/arch/arm/vfp/vfphw.S
--- linux-5.4.92.orig/arch/arm/vfp/vfphw.S	2021-01-23 15:58:01.000000000 +0100
+++ linux-5.4.92/arch/arm/vfp/vfphw.S	2021-01-28 02:56:42.871473417 +0100
@@ -81,6 +81,7 @@
 	ldr	r3, [sp, #S_PSR]	@ Neither lazy restore nor FP exceptions
 	and	r3, r3, #MODE_MASK	@ are supported in kernel mode
 	teq	r3, #USR_MODE
+THUMB(  it      ne			)
 	bne	vfp_kmode_exception	@ Returns through lr
 
 	VFPFMRX	r1, FPEXC		@ Is the VFP enabled?