forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/arm/lib/div64.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/lib/div64.S
34 *
....@@ -6,10 +7,6 @@
67 * Author: Nicolas Pitre
78 * Created: Oct 5, 2003
89 * Copyright: Monta Vista Software, Inc.
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 #include <linux/linkage.h>
....@@ -88,8 +85,8 @@
8885 @ Break out early if dividend reaches 0.
8986 2: cmp xh, yl
9087 orrcs yh, yh, ip
91
- subcss xh, xh, yl
92
- movnes ip, ip, lsr #1
88
+ subscs xh, xh, yl
89
+ movsne ip, ip, lsr #1
9390 mov yl, yl, lsr #1
9491 bne 2b
9592