summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/x86_64/crashdump-x86_64.c2
-rw-r--r--kexec/arch/x86_64/kexec-x86_64.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/kexec/arch/x86_64/crashdump-x86_64.c b/kexec/arch/x86_64/crashdump-x86_64.c
index 787ede6..1465150 100644
--- a/kexec/arch/x86_64/crashdump-x86_64.c
+++ b/kexec/arch/x86_64/crashdump-x86_64.c
@@ -35,8 +35,6 @@
#include "crashdump-x86_64.h"
#include <x86/x86-linux.h>
-extern struct arch_options_t arch_options;
-
/* Forward Declaration. */
static int exclude_crash_reserve_region(int *nr_ranges);
diff --git a/kexec/arch/x86_64/kexec-x86_64.c b/kexec/arch/x86_64/kexec-x86_64.c
index db3e5d4..e11e85a 100644
--- a/kexec/arch/x86_64/kexec-x86_64.c
+++ b/kexec/arch/x86_64/kexec-x86_64.c
@@ -141,7 +141,7 @@ void arch_usage(void)
);
}
-struct {
+static struct {
uint8_t reset_vga;
uint16_t serial_base;
uint32_t serial_baud;