summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libc/exec.c')
-rw-r--r--payloads/libpayload/libc/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/libc/exec.c b/payloads/libpayload/libc/exec.c
index d48d2132de..533600d710 100644
--- a/payloads/libpayload/libc/exec.c
+++ b/payloads/libpayload/libc/exec.c
@@ -30,7 +30,7 @@
#include <libpayload-config.h>
#include <libpayload.h>
-#if IS_ENABLED(CONFIG_LP_ARCH_X86)
+#if CONFIG(LP_ARCH_X86)
extern void i386_do_exec(long addr, int argc, char **argv, int *ret);
#endif
@@ -46,7 +46,7 @@ int exec(long addr, int argc, char **argv)
{
int val = -1;
-#if IS_ENABLED(CONFIG_LP_ARCH_X86)
+#if CONFIG(LP_ARCH_X86)
i386_do_exec(addr, argc, argv, &val);
#endif
return val;