ChangeSet 1.2074, 2005/03/12 09:14:18-08:00, [EMAIL PROTECTED]
[PATCH] Fix PA-RISC memcpy asm() statements
some adjustments to the asm()s to make gcc happy
Signed-off-by: Randolph Chung <[EMAIL PROTECTED]>
Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
memcpy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c
--- a/arch/parisc/lib/memcpy.c 2005-03-12 21:42:19 -08:00
+++ b/arch/parisc/lib/memcpy.c 2005-03-12 21:42:19 -08:00
@@ -111,7 +111,7 @@
"\t" EXC_WORD "\t" #_e "\n" \
"\t.previous\n" \
: _tt(_t), "+r"(_a) \
- : "1"(_a) \
+ : \
: "r8")
#define def_store_ai_insn(_insn,_sz,_tt,_s,_a,_t,_e) \
@@ -122,7 +122,7 @@
"\t" EXC_WORD "\t" #_e "\n" \
"\t.previous\n" \
: "+r"(_a) \
- : _tt(_t), "0"(_a) \
+ : _tt(_t) \
: "r8")
#define ldbma(_s, _a, _t, _e) def_load_ai_insn(ldbs,1,"=r",_s,_a,_t,_e)
@@ -297,7 +297,7 @@
unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len)
{
register unsigned long src, dst, t1, t2, t3;
- register char *pcs, *pcd;
+ register unsigned char *pcs, *pcd;
register unsigned int *pws, *pwd;
register double *pds, *pdd;
unsigned long ret = 0;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html