Revert "mark kmem_cache as __ro_after_init"

This reverts commit 2080fd3f3a.
This commit is contained in:
Ksawlii 2024-12-13 19:44:19 +01:00
parent ff5c74d00c
commit 88a604e7c4

View file

@ -36,7 +36,7 @@
enum slab_state slab_state; enum slab_state slab_state;
LIST_HEAD(slab_caches); LIST_HEAD(slab_caches);
DEFINE_MUTEX(slab_mutex); DEFINE_MUTEX(slab_mutex);
struct kmem_cache *kmem_cache __ro_after_init; struct kmem_cache *kmem_cache;
#ifdef CONFIG_HARDENED_USERCOPY #ifdef CONFIG_HARDENED_USERCOPY
bool usercopy_fallback __ro_after_init = bool usercopy_fallback __ro_after_init =