diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-14 16:53:15 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-14 16:53:15 -0400 |
commit | 2ff13806ead178f16518a8aaff9b5493541fec47 (patch) | |
tree | 00e722f052c3f6eaa5657ff44de076114578c8fa | |
parent | b8b5037f9eb122338f3b956704a897789a3c0138 (diff) |
sys: cpuvar: Routines are kernel specific
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | src/sys/include/sys/cpuvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/include/sys/cpuvar.h b/src/sys/include/sys/cpuvar.h index 1236c84..f208f82 100644 --- a/src/sys/include/sys/cpuvar.h +++ b/src/sys/include/sys/cpuvar.h @@ -50,6 +50,7 @@ struct pcore { #endif /* _KERNEL */ }; +#if defined(_KERNEL) /* * Configure a processor core on the system * @@ -58,5 +59,5 @@ struct pcore { * @pcore: Core to configure */ void cpu_conf(struct pcore *pcore); - +#endif /* _KERNEL */ #endif /* !_SYS_CPUVAR_H_ */ |