Ticket #2820: glibc-2.12.2_private_futexes.patch

File glibc-2.12.2_private_futexes.patch, 623 bytes (added by bigorneault, 14 years ago)

kill ASSUME_PRIVATE_FUTEX

  • sysdeps/unix/sysv/linux/kernel-features.h

    diff -Naur glibc.ori/sysdeps/unix/sysv/linux/kernel-features.h glibc/sysdeps/unix/sysv/linux/kernel-features.h
    old new  
    461461# define __ASSUME_UTIMENSAT     1
    462462#endif
    463463
    464 /* Support for private futexes was added in 2.6.22.  */
    465 #if __LINUX_KERNEL_VERSION >= 0x020616
    466 # define __ASSUME_PRIVATE_FUTEX 1
    467 #endif
    468 
    469464/* Support for fallocate was added in 2.6.23, on s390
    470465   only after 2.6.23-rc1.  */
    471466#if __LINUX_KERNEL_VERSION >= 0x020617 \