diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2020-07-28 10:58:37 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2020-07-28 10:58:37 +0000 |
commit | 8f11c997150d17d72a801874bd486aad1ef7c239 (patch) | |
tree | 6146be3af20a48c2d14aa933faea9785df928090 /sys | |
parent | 7413ae0ee548a888e3a62f8d5c8332302fad9fc1 (diff) | |
download | src-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')
-rw-r--r-- | sys/kern/kern_dump.c | 6 | ||||
-rw-r--r-- | sys/modules/esp/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/uart/Makefile | 2 |
3 files changed, 3 insertions, 7 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 diff --git a/sys/modules/esp/Makefile b/sys/modules/esp/Makefile index 1880d385dfb8..8540b4434ae3 100644 --- a/sys/modules/esp/Makefile +++ b/sys/modules/esp/Makefile @@ -3,7 +3,7 @@ .PATH: ${SRCTOP}/sys/dev/esp KMOD= esp -SRCS= device_if.h esp_pci.c ${esp_sbus} bus_if.h ncr53c9x.c ${ofw_bus_if} +SRCS= device_if.h esp_pci.c bus_if.h ncr53c9x.c SRCS+= opt_cam.h pci_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index b6bba88da9ca..5832f4c1696d 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -28,7 +28,7 @@ uart_dev_mu=uart_dev_mu.c .endif KMOD= uart -SRCS= ${uart_bus_acpi} ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ +SRCS= ${uart_bus_acpi} uart_bus_isa.c uart_bus_pccard.c \ uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \ uart_core.c ${uart_cpu_acpi} ${uart_cpu_machine} uart_dbg.c \ ${uart_dev_mvebu} uart_dev_ns8250.c ${uart_dev_mu} \ |