Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2021 15:47:26 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aa15f7df644a - main - arm: Remove obsolete comments
Message-ID:  <202110271547.19RFlQDe010510@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit aa15f7df644a5ec0eff84f077920432d5dc81d97
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-10-27 15:44:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-10-27 15:44:58 +0000

    arm: Remove obsolete comments
    
    FreeBSD has never supported arm26, so remove comments about what
    trapframes look like for that platform.
    
    Noticed by:             kevans
    Sponsored by:           Netflix
---
 sys/arm/include/frame.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/arm/include/frame.h b/sys/arm/include/frame.h
index 8866e8ab0a33..39daeb5e9932 100644
--- a/sys/arm/include/frame.h
+++ b/sys/arm/include/frame.h
@@ -61,7 +61,7 @@
  */
 
 struct trapframe {
-	register_t tf_spsr; /* Zero on arm26 */
+	register_t tf_spsr;
 	register_t tf_r0;
 	register_t tf_r1;
 	register_t tf_r2;
@@ -77,8 +77,8 @@ struct trapframe {
 	register_t tf_r12;
 	register_t tf_usr_sp;
 	register_t tf_usr_lr;
-	register_t tf_svc_sp; /* Not used on arm26 */
-	register_t tf_svc_lr; /* Not used on arm26 */
+	register_t tf_svc_sp;
+	register_t tf_svc_lr;
 	register_t tf_pc;
 	register_t tf_pad;
 };



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