summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2009-04-09 07:41:58 +0000
committerKhem Raj <kraj@mvista.com>2009-04-09 07:41:58 +0000
commitb3ace9e7bf7b2962d9404463186c5db309afd21b (patch)
treebceca067b8d1c53e36b38a30f3523d4bed24e778 /libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h
parent6e9282175daabf0803bc6f63273fc3a4920de4fc (diff)
downloaduClibc-alpine-b3ace9e7bf7b2962d9404463186c5db309afd21b.tar.bz2
uClibc-alpine-b3ace9e7bf7b2962d9404463186c5db309afd21b.tar.xz
Merged revisions 26033 via svnmerge from
svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r26033 | kraj | 2009-04-09 00:38:04 -0700 (Thu, 09 Apr 2009) | 13 lines The attached patches fixes the problems found bringing up uclibc on coldfire M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com> ........
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h
index 295495baf..f9cf5304b 100644
--- a/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h
+++ b/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h
@@ -40,7 +40,7 @@ testandset (int *spinlock)
#else
"bset #7,%1; sne %0"
#endif
- : "=dm"(ret), "=m"(*spinlock)
+ : "=&dm"(ret), "=m"(*spinlock)
: "m"(*spinlock)
: "cc");