Module Name: src Committed By: martin Date: Sat May 11 14:08:32 UTC 2024
Modified Files: src/sys/arch/aarch64/include [netbsd-10]: sljit_machdep.h Log Message: Additionally pull up the following, to fix 32bit compat compilation after ticket #655, requested by riastradh: sys/arch/aarch64/include/sljit_machdep.h 1.5 aarch64/sljit_machdep.h: Make this work in compat32 context. To generate a diff of this commit: cvs rdiff -u -r1.3.18.1 -r1.3.18.2 \ src/sys/arch/aarch64/include/sljit_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/aarch64/include/sljit_machdep.h diff -u src/sys/arch/aarch64/include/sljit_machdep.h:1.3.18.1 src/sys/arch/aarch64/include/sljit_machdep.h:1.3.18.2 --- src/sys/arch/aarch64/include/sljit_machdep.h:1.3.18.1 Thu Apr 18 15:21:55 2024 +++ src/sys/arch/aarch64/include/sljit_machdep.h Sat May 11 14:08:32 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: sljit_machdep.h,v 1.3.18.1 2024/04/18 15:21:55 martin Exp $ */ +/* $NetBSD: sljit_machdep.h,v 1.3.18.2 2024/05/11 14:08:32 martin Exp $ */ /*- * Copyright (c) 2014 Alexander Nasonov. @@ -29,6 +29,12 @@ #ifndef _AARCH64_SLJITARCH_H #define _AARCH64_SLJITARCH_H +#ifndef __aarch64__ /* compat32 */ + +#include <arm/sljit_machdep.h> + +#else /* __aarch64__ */ + #include <sys/cdefs.h> #ifdef _KERNEL @@ -56,4 +62,6 @@ (void)__builtin___clear_cache((char *)(from), (char *)(to)) #endif -#endif +#endif /* __aarch64__ (vs compat32) */ + +#endif /* _AARCH64_SLJITARCH_H */