checksum.h 331 B

123456789101112
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef ___ASM_SPARC_CHECKSUM_H
  3. #define ___ASM_SPARC_CHECKSUM_H
  4. #define _HAVE_ARCH_CSUM_AND_COPY
  5. #define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
  6. #define HAVE_CSUM_COPY_USER
  7. #if defined(__sparc__) && defined(__arch64__)
  8. #include <asm/checksum_64.h>
  9. #else
  10. #include <asm/checksum_32.h>
  11. #endif
  12. #endif