summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r--kexec/kexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index c4eb254..d282ade 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -1041,6 +1041,8 @@ int main(int argc, char *argv[])
};
static const char short_options[] = KEXEC_OPT_STR;
+ arch_init();
+
opterr = 0; /* Don't complain about unrecognized options here */
while ((opt = getopt_long(argc, argv, short_options,
options, 0)) != -1) {