Index: head/sys/vm/vm_unix.c =================================================================== --- head/sys/vm/vm_unix.c +++ head/sys/vm/vm_unix.c @@ -65,14 +65,10 @@ char *nsize; }; #endif - -/* - * MPSAFE - */ -/* ARGSUSED */ int sys_obreak(struct thread *td, struct obreak_args *uap) { +#if !defined(__aarch64__) && !defined(__riscv__) struct vmspace *vm = td->td_proc->p_vmspace; vm_map_t map = &vm->vm_map; vm_offset_t new, old, base; @@ -230,6 +226,9 @@ VM_MAP_WIRE_USER|VM_MAP_WIRE_NOHOLES); return (error); +#else /* defined(__aarch64__) || defined(__riscv__) */ + return (ENOSYS); +#endif /* defined(__aarch64__) || defined(__riscv__) */ } #ifndef _SYS_SYSPROTO_H_