csum_copy_to_user.S 431 B

12345678910111213141516171819202122
  1. /* csum_copy_to_user.S: Checksum+copy to userspace.
  2. *
  3. * Copyright (C) 2005 David S. Miller (davem@davemloft.net)
  4. */
  5. #define EX_ST(x) \
  6. 98: x; \
  7. .section .fixup,"ax"; \
  8. .align 4; \
  9. 99: retl; \
  10. mov -1, %o0; \
  11. .section __ex_table,"a";\
  12. .align 4; \
  13. .word 98b, 99b; \
  14. .text; \
  15. .align 4;
  16. #define FUNC_NAME __csum_partial_copy_to_user
  17. #define STORE(type,src,addr) type##a src, [addr] %asi
  18. #include "csum_copy.S"