From 4c869eb67e0852e8026c9975bca5239adf6956d0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Feb 2009 23:36:40 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0). --- nptl/ChangeLog | 5 +++++ nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 5551d7a..530e710 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2009-02-14 SUGIOKA Toshinobu + + * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define + LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0). + 2009-01-29 Ulrich Drepper * sysdeps/pthread/unwind-forcedunwind.c: Encrypt all function diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S index c051192..b80c369 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S @@ -103,7 +103,8 @@ and tmp2, reg ; \ mov #FUTEX_WAIT, tmp ; \ or tmp, reg -# define LOAD_FUTEX_WAIT_ABS(reg,tmp,tmp2) \ +# endif +# define LOAD_FUTEX_WAIT_ABS(reg,tmp,tmp2) \ stc gbr, tmp ; \ mov.w 99f, tmp2 ; \ add tmp2, tmp ; \ @@ -119,7 +120,6 @@ swap.b tmp2, tmp2; \ or tmp2, tmp; \ or tmp, reg -# endif # define LOAD_FUTEX_WAKE(reg,tmp,tmp2) \ stc gbr, tmp ; \ mov.w 99f, tmp2 ; \ -- 2.7.4