Revert "mark kmem_cache as __ro_after_init"

This reverts commit 2080fd3f3a.
This commit is contained in:
Ksawlii 2024-12-03 19:56:32 +01:00
parent c078766782
commit 23e27a2a48

View file

@ -36,7 +36,7 @@
enum slab_state slab_state __ro_after_init; enum slab_state slab_state __ro_after_init;
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 =