# HG changeset patch # User tristan.gingold@xxxxxxxx # Node ID d36e26e32eff9b531c0b38d3526dc9190dd9cc81 # Parent 6c43118bdba8d4316ddfffbea7a53f0b2f128ab3 linux/threads nullified (moved to linux-null). Signed-off-by: Tristan Gingold diff -r 6c43118bdba8 -r d36e26e32eff xen/include/asm-ia64/linux/threads.h --- a/xen/include/asm-ia64/linux/threads.h Fri Feb 24 22:41:08 2006 +++ /dev/null Mon Feb 27 10:07:32 2006 @@ -1,36 +0,0 @@ -#ifndef _LINUX_THREADS_H -#define _LINUX_THREADS_H - -#include - -/* - * The default limit for the nr of threads is now in - * /proc/sys/kernel/threads-max. - */ - -/* - * Maximum supported processors that can run under SMP. This value is - * set via configure setting. The maximum is equal to the size of the - * bitmasks used on that platform, i.e. 32 or 64. Setting this smaller - * saves quite a bit of memory. - */ -#ifdef CONFIG_SMP -#define NR_CPUS CONFIG_NR_CPUS -#else -#define NR_CPUS 1 -#endif - -#define MIN_THREADS_LEFT_FOR_ROOT 4 - -/* - * This controls the default maximum pid allocated to a process - */ -#define PID_MAX_DEFAULT (CONFIG_BASE_SMALL ? 0x1000 : 0x8000) - -/* - * A maximum of 4 million PIDs should be enough for a while: - */ -#define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \ - (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT)) - -#endif