summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-06-14 08:19:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-06-14 08:19:40 +0000
commit64030781a124993166035881be5281d23e61693a (patch)
tree025ce89c1cec3c66f7533b0421cfbfc5bfa7fc95 /sys/arch
parent1ae3f7a0e1301690d7ff970846835db86a083ee4 (diff)
Use uint64_t instead of u_long for pcitag_t.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/riscv64/include/pci_machdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/riscv64/include/pci_machdep.h b/sys/arch/riscv64/include/pci_machdep.h
index e2c7a7b0ec2..c3cc801302a 100644
--- a/sys/arch/riscv64/include/pci_machdep.h
+++ b/sys/arch/riscv64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.2 2021/06/14 03:48:41 deraadt Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.3 2021/06/14 08:19:39 kettenis Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -27,7 +27,7 @@
*/
typedef struct machine_pci_chipset *pci_chipset_tag_t;
-typedef u_long pcitag_t;
+typedef uint64_t pcitag_t;
#define PCITAG_NODE(x) ((x) >> 32)
#define PCITAG_OFFSET(x) ((x) & 0xffffffff)