+ struct ulock_wait2_args args2;
+
+ args2.operation = args->operation;
+ args2.addr = args->addr;
+ args2.value = args->value;
+ args2.timeout = (uint64_t)(args->timeout) * NSEC_PER_USEC;
+ args2.value2 = 0;
+
+ return ulock_wait2(p, &args2, retval);
+}
+
+int
+ulock_wait2(struct proc *p, struct ulock_wait2_args *args, int32_t *retval)
+{
+ uint8_t opcode = (uint8_t)(args->operation & UL_OPCODE_MASK);