Module Name: src Committed By: rin Date: Tue Nov 10 21:40:07 UTC 2020
Modified Files: src/sys/arch/arm/arm: cpu_exec.c Log Message: Test (epp->ep_esch->es_emul != &emul_netbsd) instead of (epp->ep_esch->es_emul == &emul_netbsd32) to determine whether curlwp is running on COMPAT_NETBSD32 or not. The former is possible even if COMPAT_NETBSD32 is not built in the main kernel. Now, compat_netbsd32 module can work on !COMPAT_NETBSD32 kernel. Discussed with pgoyette. XXX Apply similar fixes, i.e., drop ``#ifdef COMPAT_NETBSD32'' conditional codes from the rest parts of MD codes for aarch64 and mips64. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/arm/cpu_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.