From: deraadt Date: Mon, 21 Jun 2021 14:39:30 +0000 (+0000) Subject: code is obvious, comments not required X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b9f4af059dca2fe8b6d98f407c03ce5757958f6c;p=openbsd code is obvious, comments not required --- diff --git a/sys/arch/riscv64/riscv64/syscall.c b/sys/arch/riscv64/riscv64/syscall.c index 8fb24ba5c2b..615d2c9dfd1 100644 --- a/sys/arch/riscv64/riscv64/syscall.c +++ b/sys/arch/riscv64/riscv64/syscall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.c,v 1.9 2021/05/20 04:22:33 drahn Exp $ */ +/* $OpenBSD: syscall.c,v 1.10 2021/06/21 14:39:30 deraadt Exp $ */ /* * Copyright (c) 2020 Brian Bamsch @@ -52,8 +52,8 @@ svc_handler(trapframe_t *frame) if (__predict_true(frame->tf_scause & EXCP_INTR)) intr_enable(); - ap = &frame->tf_a[0]; // Pointer to first arg - code = frame->tf_t[0]; // Syscall code + ap = &frame->tf_a[0]; + code = frame->tf_t[0]; callp = p->p_p->ps_emul->e_sysent; switch (code) {