artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b5b3e
)
tweak indentation of conditional in db_validate_address().
author
jasper
<jasper@openbsd.org>
Sat, 10 Jul 2021 18:46:39 +0000
(18:46 +0000)
committer
jasper
<jasper@openbsd.org>
Sat, 10 Jul 2021 18:46:39 +0000
(18:46 +0000)
this also matches arm64 now/again.
sys/arch/riscv64/riscv64/db_interface.c
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/riscv64/db_interface.c
b/sys/arch/riscv64/riscv64/db_interface.c
index
672444a
..
508c15f
100644
(file)
--- a/
sys/arch/riscv64/riscv64/db_interface.c
+++ b/
sys/arch/riscv64/riscv64/db_interface.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: db_interface.c,v 1.
4 2021/06/29 21:27:53 kettenis Exp $
*/
+/* $OpenBSD: db_interface.c,v 1.
5 2021/07/10 18:46:39 jasper Exp $
*/
/*
* Copyright (c) 1996 Scott K. Stevens
@@
-167,7
+167,7
@@
db_validate_address(vaddr_t addr)
struct pmap *pmap;
if (!p || !p->p_vmspace || !p->p_vmspace->vm_map.pmap ||
-
INKERNEL(addr))
+ INKERNEL(addr))
pmap = pmap_kernel();
else
pmap = p->p_vmspace->vm_map.pmap;