diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-03-07 21:46:52 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-09 23:20:01 +0100 |
commit | b8c9c8f0190f4004d3d4364edb2dea5978dfc824 (patch) | |
tree | 8bc377829b6452cb3b9c17253916c64e93cb695f /arch/score/lib/string.S | |
parent | 553b085c2075f6a4a2591108554f830fa61e881f (diff) |
arch: remove score port
The Sunplus S+core architecture was added in 2009 by Chen Liqin,
who has been co-maintaining it with Lennox Wu <lennox.wu@gmail.com>
since then, but after they both left the company, nobody else has shown
any interest in the port and it has seen almost no activity other than
tree-wide changes.
The gcc port was removed a few years ago due to the inactivity.
While the sunplus website still advertises products with unspecified
RISC cores that might be S+core based, it's very clear that the Linux
port is completely abandoned at this point.
This removes all files related to the architecture.
Acked-by: Lennox Wu <lennox.wu@gmail.com>
Link: http://www.sunplus.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/score/lib/string.S')
-rw-r--r-- | arch/score/lib/string.S | 156 |
1 files changed, 0 insertions, 156 deletions
diff --git a/arch/score/lib/string.S b/arch/score/lib/string.S deleted file mode 100644 index e0c0318c9010..000000000000 --- a/arch/score/lib/string.S +++ /dev/null @@ -1,156 +0,0 @@ -/* - * arch/score/lib/string.S - * - * Score Processor version. - * - * Copyright (C) 2009 Sunplus Core Technology Co., Ltd. - * Chen Liqin <liqin.chen@sunplusct.com> - * Lennox Wu <lennox.wu@sunplusct.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see the file COPYING, or write - * to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include <linux/linkage.h> -#include <asm-generic/errno.h> - - .text - .align 2 -ENTRY(__strncpy_from_user) - cmpi.c r6, 0 - mv r9, r6 - ble .L2 -0: lbu r7, [r5] - ldi r8, 0 -1: sb r7, [r4] -2: lb r6, [r5] - cmp.c r6, r8 - beq .L2 - -.L5: - addi r8, 1 - cmp.c r8, r9 - beq .L7 -3: lbu r6, [r5, 1]+ -4: sb r6, [r4, 1]+ -5: lb r7, [r5] - cmpi.c r7, 0 - bne .L5 -.L7: - mv r4, r8 - br r3 -.L2: - ldi r8, 0 - mv r4, r8 - br r3 - .section .fixup, "ax" -99: - ldi r4, -EFAULT - br r3 - .previous - .section __ex_table, "a" - .align 2 - .word 0b ,99b - .word 1b ,99b - .word 2b ,99b - .word 3b ,99b - .word 4b ,99b - .word 5b ,99b - .previous - - .align 2 -ENTRY(__strnlen_user) - cmpi.c r5, 0 - ble .L11 -0: lb r6, [r4] - ldi r7, 0 - cmp.c r6, r7 - beq .L11 -.L15: - addi r7, 1 - cmp.c r7, r5 - beq .L23 -1: lb r6, [r4,1]+ - cmpi.c r6, 0 - bne .L15 -.L23: - addri r4, r7, 1 - br r3 - -.L11: - ldi r4, 1 - br r3 - .section .fixup, "ax" -99: - ldi r4, 0 - br r3 - - .section __ex_table,"a" - .align 2 - .word 0b, 99b - .word 1b, 99b - .previous - - .align 2 -ENTRY(__copy_tofrom_user) - cmpi.c r6, 0 - mv r10,r6 - beq .L32 - ldi r9, 0 -.L34: - add r6, r5, r9 -0: lbu r8, [r6] - add r7, r4, r9 -1: sb r8, [r7] - addi r9, 1 - cmp.c r9, r10 - bne .L34 -.L32: - ldi r4, 0 - br r3 - .section .fixup, "ax" -99: - sub r4, r10, r9 - br r3 - .previous - .section __ex_table, "a" - .align 2 - .word 0b, 99b - .word 1b, 99b - .previous - - .align 2 -ENTRY(__clear_user) - cmpi.c r5, 0 - beq .L38 - ldi r6, 0 - mv r7, r6 -.L40: - addi r6, 1 -0: sb r7, [r4]+, 1 - cmp.c r6, r5 - bne .L40 -.L38: - ldi r4, 0 - br r3 - - .section .fixup, "ax" -99: - br r3 - .previous - .section __ex_table, "a" - .align 2 - .word 0b, 99b - .previous |