]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/compat.h
Fix autofs compile without CONFIG_COMPAT
[karo-tx-linux.git] / include / linux / compat.h
index 66ed067fb7291e89f1548718e581d1ed348c4120..d42bd48ae5d51877f52399a019f4f27b5b63b3c6 100644 (file)
@@ -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 */