2
1

linux-libc-headers-2.6.12.0-config-base-small.patch 1.3 KB

123456789101112131415161718192021222324252627282930
  1. diff -urN linux-libc-headers-2.6.12.0/include/linux/threads.h linux-libc-headers-2.6.12.0-patched/include/linux/threads.h
  2. --- linux-libc-headers-2.6.12.0/include/linux/threads.h 2005-07-05 19:17:23.000000000 -0500
  3. +++ linux-libc-headers-2.6.12.0-patched/include/linux/threads.h 2005-08-18 11:39:15.000000000 -0500
  4. @@ -24,12 +24,11 @@
  5. /*
  6. * This controls the default maximum pid allocated to a process
  7. */
  8. -#define PID_MAX_DEFAULT (CONFIG_BASE_SMALL ? 0x1000 : 0x8000)
  9. +#define PID_MAX_DEFAULT 0x8000
  10. /*
  11. * A maximum of 4 million PIDs should be enough for a while:
  12. */
  13. -#define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
  14. - (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
  15. +#define PID_MAX_LIMIT (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT)
  16. #endif
  17. diff -urN linux-libc-headers-2.6.12.0/include/linux/vt_kern.h linux-libc-headers-2.6.12.0-patched/include/linux/vt_kern.h
  18. --- linux-libc-headers-2.6.12.0/include/linux/vt_kern.h 2005-07-05 19:17:23.000000000 -0500
  19. +++ linux-libc-headers-2.6.12.0-patched/include/linux/vt_kern.h 2005-08-18 11:39:30.000000000 -0500
  20. @@ -77,7 +77,7 @@
  21. * we can easily avoid touching user space while holding the console spinlock.
  22. */
  23. -#define CON_BUF_SIZE (CONFIG_BASE_SMALL ? 256 : PAGE_SIZE)
  24. +#define CON_BUF_SIZE PAGE_SIZE
  25. extern char con_buf[CON_BUF_SIZE];
  26. extern struct semaphore con_buf_sem;