diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-03-29 21:09:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-03-29 21:09:50 +0000 |
commit | b2edf2c7aa65ff9248a9a2f7a75ada45a1526933 (patch) | |
tree | ff2bdcfc630cec97d616319e7f282016b14b695e /sys | |
parent | b7759788f0cdc840516ccfc623404c5d5a2755d0 (diff) |
Comment out unused routines. They might become used in the future, so they
are better not moved to the Attic yet.
ok claudio@ kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/ofw_machdep.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 7942fcd6ab0..60da009a7b6 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.210 2024/03/29 21:06:14 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.211 2024/03/29 21:09:49 miod Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -1684,11 +1684,13 @@ bus_intr_allocate(bus_space_tag_t t, int (*handler)(void *), void *arg, return (ih); } +#ifdef notyet void bus_intr_free(void *arg) { free(arg, M_DEVBUF, 0); } +#endif void * sparc_mainbus_intr_establish(bus_space_tag_t t, bus_space_tag_t t0, int number, diff --git a/sys/arch/sparc64/sparc64/ofw_machdep.c b/sys/arch/sparc64/sparc64/ofw_machdep.c index ba6f23e072f..a07a5aedc27 100644 --- a/sys/arch/sparc64/sparc64/ofw_machdep.c +++ b/sys/arch/sparc64/sparc64/ofw_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_machdep.c,v 1.37 2024/03/29 21:06:14 miod Exp $ */ +/* $OpenBSD: ofw_machdep.c,v 1.38 2024/03/29 21:09:49 miod Exp $ */ /* $NetBSD: ofw_machdep.c,v 1.16 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -243,6 +243,7 @@ prom_alloc_virt(int len, int align) return (vaddr_t)args.retaddr; } +#ifdef unused /* * Release some address space to the prom * @@ -274,7 +275,7 @@ prom_free_virt(vaddr_t vaddr, int len) args.len = len; return openfirmware(&args); } - +#endif /* * Unmap some address space |