forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/vfp/entry.S
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/vfp/entry.S
34 *
45 * Copyright (C) 2004 ARM Limited.
56 * Written by Deep Blue Solutions Limited.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118 #include <linux/init.h>
129 #include <linux/linkage.h>
....@@ -40,20 +37,3 @@
4037 .align 2
4138 .LCvfp:
4239 .word vfp_vector
43
-
44
-@ This code is called if the VFP does not exist. It needs to flag the
45
-@ failure to the VFP initialisation code.
46
-
47
- __INIT
48
-ENTRY(vfp_testing_entry)
49
- dec_preempt_count_ti r10, r4
50
- ldr r0, VFP_arch_address
51
- str r0, [r0] @ set to non-zero value
52
- ret r9 @ we have handled the fault
53
-ENDPROC(vfp_testing_entry)
54
-
55
- .align 2
56
-VFP_arch_address:
57
- .word VFP_arch
58
-
59
- __FINIT