Page MenuHomeFreeBSD

D15539.diff
No OneTemporary

D15539.diff

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_

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 24, 9:49 AM (4 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24127594
Default Alt Text
D15539.diff (704 B)

Event Timeline