[PATCH] m68knommu: fix clobber list in uCdimm/uCsimm helper asm

Fix clobber list in uCsimm/uCdimm boot load helper asm.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Greg Ungerer 2006-06-28 16:12:45 +10:00 committed by Linus Torvalds
parent 541960fef7
commit 0aee77b221

View file

@ -52,7 +52,7 @@ type name(void) \
__asm__ __volatile__ ("trap #2" \ __asm__ __volatile__ ("trap #2" \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res) \ : "0" (__res) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }
@ -64,7 +64,7 @@ type name(atype a) \
__asm__ __volatile__ ("trap #2" \ __asm__ __volatile__ ("trap #2" \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res), "d" (__a) \ : "0" (__res), "d" (__a) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }
@ -77,7 +77,7 @@ type name(atype a, btype b) \
__asm__ __volatile__ ("trap #2" \ __asm__ __volatile__ ("trap #2" \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res), "d" (__a), "d" (__b) \ : "0" (__res), "d" (__a), "d" (__b) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }
@ -92,7 +92,7 @@ type name(atype a, btype b, ctype c) \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res), "d" (__a), "d" (__b), \ : "0" (__res), "d" (__a), "d" (__b), \
"d" (__c) \ "d" (__c) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }
@ -108,7 +108,7 @@ type name(atype a, btype b, ctype c, dtype d) \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res), "d" (__a), "d" (__b), \ : "0" (__res), "d" (__a), "d" (__b), \
"d" (__c), "d" (__d) \ "d" (__c), "d" (__d) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }
@ -125,7 +125,7 @@ type name(atype a, btype b, ctype c, dtype d, etype e) \
: "=g" (__res) \ : "=g" (__res) \
: "0" (__res), "d" (__a), "d" (__b), \ : "0" (__res), "d" (__a), "d" (__b), \
"d" (__c), "d" (__d), "d" (__e) \ "d" (__c), "d" (__d), "d" (__e) \
: "%d0"); \ ); \
__bsc_return(type,__res); \ __bsc_return(type,__res); \
} }