Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: remove sh5/sh64 last fragments

A previous patch removed most of the sh5 (sh64) support from the
kernel tree. Now remove the last stragglers.

Fixes: 37744feebc08 ("sh: remove sh5 support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: linux-sh@vger.kernel.org
Acked-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230306040037.20350-6-rdunlap@infradead.org
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

authored by

Randy Dunlap and committed by
John Paul Adrian Glaubitz
644a9cf0 58a49ad9

+2 -21
-1
Documentation/kbuild/kbuild.rst
··· 160 160 But some architectures such as x86 and sparc have aliases. 161 161 162 162 - x86: i386 for 32 bit, x86_64 for 64 bit 163 - - sh: sh for 32 bit, sh64 for 64 bit 164 163 - sparc: sparc32 for 32 bit, sparc64 for 64 bit 165 164 166 165 CROSS_COMPILE
-2
Documentation/scheduler/sched-arch.rst
··· 70 70 71 71 ia64 - is safe_halt call racy vs interrupts? (does it sleep?) (See #4a) 72 72 73 - sh64 - Is sleeping racy vs interrupts? (See #4a) 74 - 75 73 sparc - IRQs on at this point(?), change local_irq_save to _disable. 76 74 - TODO: needs secondary CPUs to disable preempt (See #1)
-2
Documentation/translations/zh_CN/scheduler/sched-arch.rst
··· 70 70 71 71 ia64 - safe_halt的调用与中断相比,是否很荒谬? (它睡眠了吗) (参考 #4a) 72 72 73 - sh64 - 睡眠与中断相比,是否很荒谬? (参考 #4a) 74 - 75 73 sparc - 在这一点上,IRQ是开着的(?),把local_irq_save改为_disable。 76 74 - 待办事项: 需要第二个CPU来禁用抢占 (参考 #1)
-7
scripts/checkstack.pl
··· 10 10 # Mips port by Juan Quintela <quintela@mandrakesoft.com> 11 11 # IA64 port via Andreas Dilger 12 12 # Arm port by Holger Schurig 13 - # sh64 port by Paul Mundt 14 13 # Random bits by Matt Mackall <mpm@selenic.com> 15 14 # M68k port by Geert Uytterhoeven and Andreas Schwab 16 15 # AArch64, PARISC ports by Kyle McMartin ··· 99 100 # 100092: e3 f0 ff c8 ff 71 lay %r15,-56(%r15) 100 101 $re = qr/.*(?:lay|ag?hi).*\%r15,-(([0-9]{2}|[3-9])[0-9]{2}) 101 102 (?:\(\%r15\))?$/ox; 102 - } elsif ($arch =~ /^sh64$/) { 103 - #XXX: we only check for the immediate case presently, 104 - # though we will want to check for the movi/sub 105 - # pair for larger users. -- PFM. 106 - #a00048e0: d4fc40f0 addi.l r15,-240,r15 107 - $re = qr/.*addi\.l.*r15,-(([0-9]{2}|[3-9])[0-9]{2}),r15/o; 108 103 } elsif ($arch eq 'sparc' || $arch eq 'sparc64') { 109 104 # f0019d10: 9d e3 bf 90 save %sp, -112, %sp 110 105 $re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o;
-2
tools/perf/arch/common.c
··· 51 51 52 52 const char *const sh_triplets[] = { 53 53 "sh-unknown-linux-gnu-", 54 - "sh64-unknown-linux-gnu-", 55 54 "sh-linux-gnu-", 56 - "sh64-linux-gnu-", 57 55 NULL 58 56 }; 59 57
-5
tools/scripts/Makefile.arch
··· 29 29 SRCARCH := sparc 30 30 endif 31 31 32 - # Additional ARCH settings for sh 33 - ifeq ($(ARCH),sh64) 34 - SRCARCH := sh 35 - endif 36 - 37 32 # Additional ARCH settings for loongarch 38 33 ifeq ($(ARCH),loongarch32) 39 34 SRCARCH := loongarch
+1 -1
tools/testing/selftests/mm/Makefile
··· 90 90 91 91 endif 92 92 93 - ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 riscv64 s390x sh64 sparc64 x86_64)) 93 + ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 riscv64 s390x sparc64 x86_64)) 94 94 TEST_GEN_FILES += va_128TBswitch 95 95 TEST_GEN_FILES += virtual_address_range 96 96 TEST_GEN_FILES += write_to_hugetlbfs
+1 -1
tools/testing/selftests/mm/run_vmtests.sh
··· 132 132 fi 133 133 134 134 # filter 64bit architectures 135 - ARCH64STR="arm64 ia64 mips64 parisc64 ppc64 ppc64le riscv64 s390x sh64 sparc64 x86_64" 135 + ARCH64STR="arm64 ia64 mips64 parisc64 ppc64 ppc64le riscv64 s390x sparc64 x86_64" 136 136 if [ -z "$ARCH" ]; then 137 137 ARCH=$(uname -m 2>/dev/null | sed -e 's/aarch64.*/arm64/') 138 138 fi