csum_copy_from_user.S 439 B

123456789101112131415161718192021
  1. /* csum_copy_from_user.S: Checksum+copy from userspace.
  2. *
  3. * Copyright (C) 2005 David S. Miller (davem@davemloft.net)
  4. */
  5. #define EX_LD(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_from_user
  17. #define LOAD(type,addr,dest) type##a [addr] %asi, dest
  18. #include "csum_copy.S"