kinst.h: make pointer to probe in kinst_cpu_state const
Fixes: 5b701ed19c ("kinst: start moving towards per-probe
trampolines")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user