diff options
-rw-r--r-- | kernel/unwind.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/unwind.c b/kernel/unwind.c index 3430475fcd88..2e2368607aab 100644 --- a/kernel/unwind.c +++ b/kernel/unwind.c | |||
@@ -102,7 +102,7 @@ static struct unwind_table { | |||
102 | unsigned long size; | 102 | unsigned long size; |
103 | struct unwind_table *link; | 103 | struct unwind_table *link; |
104 | const char *name; | 104 | const char *name; |
105 | } root_table, *last_table; | 105 | } root_table; |
106 | 106 | ||
107 | struct unwind_item { | 107 | struct unwind_item { |
108 | enum item_location { | 108 | enum item_location { |
@@ -174,6 +174,8 @@ void __init unwind_init(void) | |||
174 | 174 | ||
175 | #ifdef CONFIG_MODULES | 175 | #ifdef CONFIG_MODULES |
176 | 176 | ||
177 | static struct unwind_table *last_table; | ||
178 | |||
177 | /* Must be called with module_mutex held. */ | 179 | /* Must be called with module_mutex held. */ |
178 | void *unwind_add_table(struct module *module, | 180 | void *unwind_add_table(struct module *module, |
179 | const void *table_start, | 181 | const void *table_start, |