We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f977df7 commit 153eb22Copy full SHA for 153eb22
arch/x86/kernel/unwind_orc.c
@@ -15,12 +15,12 @@ extern int __stop_orc_unwind_ip[];
15
extern struct orc_entry __start_orc_unwind[];
16
extern struct orc_entry __stop_orc_unwind[];
17
18
-static DEFINE_MUTEX(sort_mutex);
19
-int *cur_orc_ip_table = __start_orc_unwind_ip;
20
-struct orc_entry *cur_orc_table = __start_orc_unwind;
+static bool orc_init __ro_after_init;
+static unsigned int lookup_num_blocks __ro_after_init;
21
22
-unsigned int lookup_num_blocks;
23
-bool orc_init;
+static DEFINE_MUTEX(sort_mutex);
+static int *cur_orc_ip_table = __start_orc_unwind_ip;
+static struct orc_entry *cur_orc_table = __start_orc_unwind;
24
25
static inline unsigned long orc_ip(const int *ip)
26
{
0 commit comments