Commit a897e060 authored by Pavel Emelyanov's avatar Pavel Emelyanov

parasite: Sanitize preprocessor arch checks

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 12ebda31
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
* there * there
*/ */
#ifdef CONFIG_X86_64 #ifndef CONFIG_X86_64
#error non-x86-64 mode not yet implemented
#endif
static void *brk_start, *brk_end, *brk_tail; static void *brk_start, *brk_end, *brk_tail;
...@@ -585,7 +587,3 @@ int __used parasite_service(unsigned int cmd, void *args) ...@@ -585,7 +587,3 @@ int __used parasite_service(unsigned int cmd, void *args)
pr_err("Unknown command to parasite\n"); pr_err("Unknown command to parasite\n");
return -EINVAL; return -EINVAL;
} }
#else /* CONFIG_X86_64 */
# error x86-32 bit mode not yet implemented
#endif /* CONFIG_X86_64 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment