git: 267d55fa2a74 - main - Remove an unused arm64 panic string

Andrew Turner andrew at FreeBSD.org
Mon Aug 9 11:20:27 UTC 2021


The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=267d55fa2a74a6e04eb760e4cbb07c7f66729ac9

commit 267d55fa2a74a6e04eb760e4cbb07c7f66729ac9
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-08-08 21:28:25 +0000
Commit:     Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-08-08 21:28:25 +0000

    Remove an unused arm64 panic string
    
    This was added early in the development of the arm64 port when
    cpu_switch was just a stub. It should have been removed when cpu_switch
    was implemented, however this didn't seem to be the case, and the '%p'
    was added.
    
    As this hasn't been needed in 7 years we can remove it.
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/arm64/swtch.S | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S
index 266a5343d7cb..5d0cf1c59465 100644
--- a/sys/arm64/arm64/swtch.S
+++ b/sys/arm64/arm64/swtch.S
@@ -203,8 +203,6 @@ ENTRY(cpu_switch)
 
 	str	xzr, [x4, #PCB_REGS + 18 * 8]
 	ret
-.Lcpu_switch_panic_str:
-	.asciz "cpu_switch: %p\0"
 END(cpu_switch)
 
 ENTRY(fork_trampoline)


More information about the dev-commits-src-main mailing list