diff --git a/include/linux/compat.h b/include/linux/compat.h index 41c9f6515f4621f6f20e90e0f5adbb4958829c58..7e05fcee75a158815986fe9477fbbf98bde50052 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -561,5 +561,9 @@ asmlinkage ssize_t compat_sys_process_vm_writev(compat_pid_t pid, unsigned long liovcnt, const struct compat_iovec __user *rvec, unsigned long riovcnt, unsigned long flags); +#else + +#define is_compat_task() (0) + #endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */