.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/vfp/entry.S |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2004 ARM Limited. |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | #include <linux/init.h> |
---|
12 | 9 | #include <linux/linkage.h> |
---|
.. | .. |
---|
40 | 37 | .align 2 |
---|
41 | 38 | .LCvfp: |
---|
42 | 39 | .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 |
---|