mark kmem_cache as __ro_after_init
Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
This commit is contained in:
parent
6527a24e6f
commit
2080fd3f3a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
struct kmem_cache *kmem_cache __ro_after_init;
|
||||||
|
|
||||||
#ifdef CONFIG_HARDENED_USERCOPY
|
#ifdef CONFIG_HARDENED_USERCOPY
|
||||||
bool usercopy_fallback __ro_after_init =
|
bool usercopy_fallback __ro_after_init =
|
||||||
|
|
Loading…
Reference in a new issue