mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
e967a9a5d5
commit
02402ec888
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue