git: 02402ec88896 - main - kinst.h: make pointer to probe in kinst_cpu_state const

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 16:57:58 UTC
The branch main has been updated by christos:

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

commit 02402ec88896eda56be4ae41779ddc719f6b0e9d
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2023-07-19 16:56:10 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2023-07-19 16:57:44 +0000

    kinst.h: make pointer to probe in kinst_cpu_state const
    
    Fixes: 5b701ed19c2e ("kinst: start moving towards per-probe
    trampolines")
    
    Sponsored by: The FreeBSD Foundation
---
 sys/cddl/dev/kinst/kinst.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cddl/dev/kinst/kinst.h b/sys/cddl/dev/kinst/kinst.h
index 390a2d1c13bf..f0811a4a88d8 100644
--- a/sys/cddl/dev/kinst/kinst.h
+++ b/sys/cddl/dev/kinst/kinst.h
@@ -58,7 +58,7 @@ struct kinst_cpu_state {
 	/*
 	 * Points to the probe whose trampoline we're currently executing.
 	 */
-	struct kinst_probe *kp;
+	const struct kinst_probe *kp;
 	/*
 	 * Because we execute trampolines with interrupts disabled, we have to
 	 * cache the CPU's status in order to restore it when we return from