diff options
| -rw-r--r-- | kernel/watchdog.c | 4 | ||||
| -rw-r--r-- | tools/objtool/check.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 8fbfda94a67b..403c9bd90413 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c | |||
| @@ -42,9 +42,9 @@ int __read_mostly watchdog_user_enabled = 1; | |||
| 42 | int __read_mostly nmi_watchdog_user_enabled = NMI_WATCHDOG_DEFAULT; | 42 | int __read_mostly nmi_watchdog_user_enabled = NMI_WATCHDOG_DEFAULT; |
| 43 | int __read_mostly soft_watchdog_user_enabled = 1; | 43 | int __read_mostly soft_watchdog_user_enabled = 1; |
| 44 | int __read_mostly watchdog_thresh = 10; | 44 | int __read_mostly watchdog_thresh = 10; |
| 45 | int __read_mostly nmi_watchdog_available; | 45 | static int __read_mostly nmi_watchdog_available; |
| 46 | 46 | ||
| 47 | struct cpumask watchdog_allowed_mask __read_mostly; | 47 | static struct cpumask watchdog_allowed_mask __read_mostly; |
| 48 | 48 | ||
| 49 | struct cpumask watchdog_cpumask __read_mostly; | 49 | struct cpumask watchdog_cpumask __read_mostly; |
| 50 | unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask); | 50 | unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask); |
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 0414a0d52262..5dde107083c6 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c | |||
| @@ -2184,9 +2184,10 @@ static void cleanup(struct objtool_file *file) | |||
| 2184 | elf_close(file->elf); | 2184 | elf_close(file->elf); |
| 2185 | } | 2185 | } |
| 2186 | 2186 | ||
| 2187 | static struct objtool_file file; | ||
| 2188 | |||
| 2187 | int check(const char *_objname, bool orc) | 2189 | int check(const char *_objname, bool orc) |
| 2188 | { | 2190 | { |
| 2189 | struct objtool_file file; | ||
| 2190 | int ret, warnings = 0; | 2191 | int ret, warnings = 0; |
| 2191 | 2192 | ||
| 2192 | objname = _objname; | 2193 | objname = _objname; |
