Commit 644a9cf0 authored by Randy Dunlap's avatar Randy Dunlap Committed by John Paul Adrian Glaubitz
Browse files

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: 37744fee ("sh: remove sh5 support")
Signed-off-by: default avatarRandy 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: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Reviewed-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230306040037.20350-6-rdunlap@infradead.org


Signed-off-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
parent 58a49ad9
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -160,7 +160,6 @@ directory name found in the arch/ directory.
But some architectures such as x86 and sparc have aliases.
But some architectures such as x86 and sparc have aliases.


- x86: i386 for 32 bit, x86_64 for 64 bit
- x86: i386 for 32 bit, x86_64 for 64 bit
- sh: sh for 32 bit, sh64 for 64 bit
- sparc: sparc32 for 32 bit, sparc64 for 64 bit
- sparc: sparc32 for 32 bit, sparc64 for 64 bit


CROSS_COMPILE
CROSS_COMPILE
+0 −2
Original line number Original line Diff line number Diff line
@@ -70,7 +70,5 @@ Possible arch problems I found (and either tried to fix or didn't):


ia64 - is safe_halt call racy vs interrupts? (does it sleep?) (See #4a)
ia64 - is safe_halt call racy vs interrupts? (does it sleep?) (See #4a)


sh64 - Is sleeping racy vs interrupts? (See #4a)

sparc - IRQs on at this point(?), change local_irq_save to _disable.
sparc - IRQs on at this point(?), change local_irq_save to _disable.
      - TODO: needs secondary CPUs to disable preempt (See #1)
      - TODO: needs secondary CPUs to disable preempt (See #1)
+0 −2
Original line number Original line Diff line number Diff line
@@ -70,7 +70,5 @@ arch/x86/kernel/process.c有轮询和睡眠空闲函数的例子。


ia64 - safe_halt的调用与中断相比,是否很荒谬? (它睡眠了吗) (参考 #4a)
ia64 - safe_halt的调用与中断相比,是否很荒谬? (它睡眠了吗) (参考 #4a)


sh64 - 睡眠与中断相比,是否很荒谬? (参考 #4a)

sparc - 在这一点上,IRQ是开着的(?),把local_irq_save改为_disable。
sparc - 在这一点上,IRQ是开着的(?),把local_irq_save改为_disable。
      - 待办事项: 需要第二个CPU来禁用抢占 (参考 #1)
      - 待办事项: 需要第二个CPU来禁用抢占 (参考 #1)
+0 −7
Original line number Original line Diff line number Diff line
@@ -10,7 +10,6 @@
#	Mips port by Juan Quintela <quintela@mandrakesoft.com>
#	Mips port by Juan Quintela <quintela@mandrakesoft.com>
#	IA64 port via Andreas Dilger
#	IA64 port via Andreas Dilger
#	Arm port by Holger Schurig
#	Arm port by Holger Schurig
#	sh64 port by Paul Mundt
#	Random bits by Matt Mackall <mpm@selenic.com>
#	Random bits by Matt Mackall <mpm@selenic.com>
#	M68k port by Geert Uytterhoeven and Andreas Schwab
#	M68k port by Geert Uytterhoeven and Andreas Schwab
#	AArch64, PARISC ports by Kyle McMartin
#	AArch64, PARISC ports by Kyle McMartin
@@ -100,12 +99,6 @@ my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
		#  100092:	 e3 f0 ff c8 ff 71	 lay	 %r15,-56(%r15)
		#  100092:	 e3 f0 ff c8 ff 71	 lay	 %r15,-56(%r15)
		$re = qr/.*(?:lay|ag?hi).*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})
		$re = qr/.*(?:lay|ag?hi).*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})
		      (?:\(\%r15\))?$/ox;
		      (?:\(\%r15\))?$/ox;
	} elsif ($arch =~ /^sh64$/) {
		#XXX: we only check for the immediate case presently,
		#     though we will want to check for the movi/sub
		#     pair for larger users. -- PFM.
		#a00048e0:       d4fc40f0        addi.l  r15,-240,r15
		$re = qr/.*addi\.l.*r15,-(([0-9]{2}|[3-9])[0-9]{2}),r15/o;
	} elsif ($arch eq 'sparc' || $arch eq 'sparc64') {
	} elsif ($arch eq 'sparc' || $arch eq 'sparc64') {
		# f0019d10:       9d e3 bf 90     save  %sp, -112, %sp
		# f0019d10:       9d e3 bf 90     save  %sp, -112, %sp
		$re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o;
		$re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o;
+0 −2
Original line number Original line Diff line number Diff line
@@ -51,9 +51,7 @@ const char *const s390_triplets[] = {


const char *const sh_triplets[] = {
const char *const sh_triplets[] = {
	"sh-unknown-linux-gnu-",
	"sh-unknown-linux-gnu-",
	"sh64-unknown-linux-gnu-",
	"sh-linux-gnu-",
	"sh-linux-gnu-",
	"sh64-linux-gnu-",
	NULL
	NULL
};
};


Loading