1 /* NG2copy_from_user.S: Niagara-2 optimized copy from userspace.
3 * Copyright (C) 2007 David S. Miller (davem@davemloft.net)
8 .section __ex_table,"a";\
14 #define EX_LD_FP(x,y) \
16 .section __ex_table,"a";\
26 #ifndef ASI_BLK_AIUS_4V
27 #define ASI_BLK_AIUS_4V 0x17
30 #define FUNC_NAME NG2copy_from_user
31 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
32 #define LOAD_BLK(addr,dest) ldda [addr] ASI_BLK_AIUS_4V, dest
33 #define EX_RETVAL(x) 0
39 bne,pn %icc, ___copy_in_user; \
43 #include "NG2memcpy.S"