Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* csum_copy_to_user.S: Checksum+copy to userspace.
0003  *
0004  * Copyright (C) 2005 David S. Miller (davem@davemloft.net)
0005  */
0006 
0007 #define EX_ST(x)        \
0008 98: x;          \
0009     .section .fixup,"ax";   \
0010     .align 4;       \
0011 99: retl;           \
0012      mov    0, %o0;     \
0013     .section __ex_table,"a";\
0014     .align 4;       \
0015     .word 98b, 99b;     \
0016     .text;          \
0017     .align 4;
0018 
0019 #define FUNC_NAME       csum_and_copy_to_user
0020 #define STORE(type,src,addr)    type##a src, [addr] %asi
0021 
0022 #include "csum_copy.S"