From: Andrew Morton Make sparc64 compile. It doesn't do the new futex stuff yet. Cc: Ingo Molnar Cc: "David S. Miller" Signed-off-by: Andrew Morton --- include/asm-sparc64/futex.h | 6 ++++++ 1 files changed, 6 insertions(+) diff -puN include/asm-sparc64/futex.h~lightweight-robust-futexes-arch-defaults-fix include/asm-sparc64/futex.h --- 25-sparc64/include/asm-sparc64/futex.h~lightweight-robust-futexes-arch-defaults-fix 2006-02-28 03:32:16.000000000 -0800 +++ 25-sparc64-akpm/include/asm-sparc64/futex.h 2006-02-28 03:33:05.000000000 -0800 @@ -83,4 +83,10 @@ static inline int futex_atomic_op_inuser return ret; } +static inline int +futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) +{ + return -ENOSYS; +} + #endif /* !(_SPARC64_FUTEX_H) */ _