diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-11-24 18:19:44 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-12-01 12:42:43 +0000 |
commit | 1d250ec70748f9efb4d52d93bdd71eff6de057ee (patch) | |
tree | 06e5aaeec89cfa7ebff10e3e2ae43f0b5533fc8a /sys/conf/files.mips | |
parent | 53e965ff94c3a420e9b240920dc1eb742515b664 (diff) |
netinet: Deduplicate most in_cksum() implementations
in_cksum() and related routines are implemented separately for each
platform, but only i386 and arm have optimized versions. Other
platforms' copies of in_cksum.c are identical except for style
differences and support for big-endian CPUs.
Deduplicate the implementations for the rest of the platforms. This
will make it easier to implement in_cksum() for unmapped mbufs. On arm
and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is
not to be compiled.
No functional change intended.
Reviewed by: kp, glebius
Sponsored by: The FreeBSD Foundation
(cherry picked from commit ecbbe831445a4b94279e5932828d60076e4ca444)
Diffstat (limited to 'sys/conf/files.mips')
-rw-r--r-- | sys/conf/files.mips | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/files.mips b/sys/conf/files.mips index 7ee5b0019bd7..70eb44d0165d 100644 --- a/sys/conf/files.mips +++ b/sys/conf/files.mips @@ -20,7 +20,6 @@ mips/mips/exception.S standard mips/mips/fp.S standard mips/mips/freebsd32_machdep.c optional compat_freebsd32 mips/mips/gdb_machdep.c standard -mips/mips/in_cksum.c optional inet mips/mips/libkern_machdep.c standard mips/mips/locore.S standard no-obj mips/mips/machdep.c standard |