diff options
-rw-r--r-- | 02_process_init/entry.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/02_process_init/entry.S b/02_process_init/entry.S index 50425ba..652c175 100644 --- a/02_process_init/entry.S +++ b/02_process_init/entry.S @@ -2,6 +2,10 @@ #include <asm/unistd.h> +#if !defined(__linux__) || !defined(__x86_64__) +# error "Only supported in linux(x86_64)!" +#endif + .intel_syntax noprefix .section .text, "ax", @progbits |