Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2021 14:08:38 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b54a69251823 - stable/13 - Remove an unused arm64 panic string
Message-ID:  <202109271408.18RE8cfL082386@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by andrew:

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

commit b54a69251823cb17d43e154ba1cd28d5d8d7fe68
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-08-08 21:28:25 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2021-09-27 08:36:38 +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
    
    (cherry picked from commit 267d55fa2a74a6e04eb760e4cbb07c7f66729ac9)
---
 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109271408.18RE8cfL082386>