linuxformer / gpl-source /kernel /patches /0001-Experimental-RISC-V-32-bit-No-MMU-support.patch
itsrealranky's picture
Add the linuxformer checkpoint, booted snapshot and GPL sources
8ccdbd3 verified
Raw History Blame Contribute Delete
616 Bytes
diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h
index 73d7cdd2e..53f5410c1 100644
--- a/arch/riscv/include/uapi/asm/unistd.h
+++ b/arch/riscv/include/uapi/asm/unistd.h
@@ -15,9 +15,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-#if defined(__LP64__) && !defined(__SYSCALL_COMPAT)
+#ifndef __SYSCALL_COMPAT
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SET_GET_RLIMIT
+#endif
+
+#ifndef __LP64__
+#define __ARCH_WANT_STAT64
+#define __ARCH_WANT_TIME32_SYSCALLS
#endif /* __LP64__ */
#define __ARCH_WANT_SYS_CLONE3
--
2.38.1