aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2020-07-28 10:58:37 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2020-07-28 10:58:37 +0000
commit8f11c997150d17d72a801874bd486aad1ef7c239 (patch)
tree6146be3af20a48c2d14aa933faea9785df928090 /sys/kern
parent7413ae0ee548a888e3a62f8d5c8332302fad9fc1 (diff)
downloadsrc-8f11c997150d17d72a801874bd486aad1ef7c239.tar.gz
src-8f11c997150d17d72a801874bd486aad1ef7c239.zip
- Cleanups related to sparc64 removal.
- Remove remains of sparc64 files. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25831
Notes
Notes: svn path=/head/; revision=363644
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_dump.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_dump.c b/sys/kern/kern_dump.c
index e5e6a5d1208c..79dc7766a964 100644
--- a/sys/kern/kern_dump.c
+++ b/sys/kern/kern_dump.c
@@ -54,7 +54,7 @@ static size_t fragsz;
struct dump_pa dump_map[DUMPSYS_MD_PA_NPAIRS];
-#if !defined(__powerpc__) && !defined(__sparc__)
+#if !defined(__powerpc__)
void
dumpsys_gen_pa_init(void)
{
@@ -97,14 +97,12 @@ dumpsys_gen_unmap_chunk(vm_paddr_t pa __unused, size_t chunk __unused,
}
-#if !defined(__sparc__)
int
dumpsys_gen_write_aux_headers(struct dumperinfo *di)
{
return (0);
}
-#endif
int
dumpsys_buf_seek(struct dumperinfo *di, size_t sz)
@@ -240,7 +238,6 @@ dumpsys_foreach_chunk(dumpsys_callback_t cb, void *arg)
return (seqnr);
}
-#if !defined(__sparc__)
static off_t fileofs;
static int
@@ -387,4 +384,3 @@ dumpsys_generic(struct dumperinfo *di)
printf("\n** DUMP FAILED (ERROR %d) **\n", error);
return (error);
}
-#endif