76666be8c9
sparc64 already is equivalent to that (trivial access_ok()); add it into sparc32 csum_partial_copy_from_user() and we can rename both to csum_and_copy_fromUser() and be done with that. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
11 lines
270 B
C
11 lines
270 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef ___ASM_SPARC_CHECKSUM_H
|
|
#define ___ASM_SPARC_CHECKSUM_H
|
|
#define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/checksum_64.h>
|
|
#else
|
|
#include <asm/checksum_32.h>
|
|
#endif
|
|
#endif
|