You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
469 B

  1. Index: LVM2.2.02.118/lib/mm/memlock.c
  2. ===================================================================
  3. --- LVM2.2.02.118.orig/lib/mm/memlock.c
  4. +++ LVM2.2.02.118/lib/mm/memlock.c
  5. @@ -137,7 +137,7 @@ static void _touch_memory(void *mem, siz
  6. static void _allocate_memory(void)
  7. {
  8. -#ifndef VALGRIND_POOL
  9. +#if defined(__GLIBC__) && !defined(VALGRIND_POOL)
  10. void *stack_mem;
  11. struct rlimit limit;
  12. int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;