diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-06-17 03:01:27 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-06-17 03:01:27 +0000 |
commit | 10cb0f580c6ece66b8556124642ae5558484beb0 (patch) | |
tree | 39340c44f77f0dead18a602ffb2e6111434c129f /share/man | |
parent | e69384fa96e3cf8e8debf6a1a7a572baecbaf5a6 (diff) |
make intrmap_cpu return a struct cpu_info *, not a "cpuid number" thing.
requested by kettenis@
discussed with jmatthew@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/intrmap_create.9 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/intrmap_create.9 b/share/man/man9/intrmap_create.9 index 33f1985d180..ad385748a3e 100644 --- a/share/man/man9/intrmap_create.9 +++ b/share/man/man9/intrmap_create.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intrmap_create.9,v 1.1 2020/06/17 00:28:28 dlg Exp $ +.\" $OpenBSD: intrmap_create.9,v 1.2 2020/06/17 03:01:26 dlg Exp $ .\" .\" Copyright (c) 2020 David Gwynne <dlg@openbsd.org> .\" @@ -36,7 +36,7 @@ .Fn intrmap_destroy "struct intrmap *im" .Ft unsigned int .Fn intrmap_count "struct intrmap *im" -.Ft unsigned int +.Ft struct cpu_info * .Fn intrmap_cpu "struct intrmap *im" "unsigned int index" .Sh DESCRIPTION The interrupt to CPU mapping API supports the use of multiple CPUs @@ -112,8 +112,8 @@ returns the number of interrupts that were allocated for the driver to use. .Pp .Fn intrmap_cpu -returns an identifier for the CPU that the interrupt should be -established on. +returns pointer to the cpu_info structure for the CPU that the +interrupt should be established on. .\" .Sh SEE ALSO .\" .Xr pci_intr_establish_cpuid 9 .Sh HISTORY |