Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_CHECKSUM_H
2 #define _ASM_POWERPC_CHECKSUM_H
54 int *src_err,
int *dst_err);
57 #define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
60 #define HAVE_CSUM_COPY_USER
68 #define csum_partial_copy_from_user(src, dst, len, sum, errp) \
69 csum_partial_copy_generic((__force const void *)(src), (dst), (len), (sum), (errp), NULL)
72 #define csum_partial_copy_nocheck(src, dst, len, sum) \
73 csum_partial_copy_generic((src), (dst), (len), (sum), NULL, NULL)
85 __asm__(
"rlwinm %0,%1,16,0,31" :
"=r" (tmp) :
"r" (sum));
103 unsigned short proto,
122 :
"r" (daddr),
"r"(saddr),
"r"(proto + len),
"0"(sum));