From c443a2362ecfc02ae0efe8bd9d11b6877d5717e0 Mon Sep 17 00:00:00 2001 From: Vu Nguyen Date: Wed, 1 Dec 2021 13:41:55 +0700 Subject: [PATCH] Fix compilation error on system other than X86 Signed-off-by: Vu Nguyen --- misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc.c b/misc.c index 5e5ca71..2300abb 100644 --- a/misc.c +++ b/misc.c @@ -258,7 +258,9 @@ runon(int argc, const char *argv[], const struct cmd_info *info) return -1; } +#ifdef ARCH_X86 MAKE_PREREQ_PARAMS_VAR_ARGS(cpuid_params, 3, 4, " [index]", 0); +#endif MAKE_PREREQ_PARAMS_VAR_ARGS(runon_params, 3, INT_MAX, " [args]", 0); static const struct cmd_info misc_cmds[] = {