[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [IA64] warning removal: NR_CPUS
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID a4a4a28a16861e723af49ccd3ef948c52f77e1dc # Parent 21f633fd90e47ca099042bf8f04c924b6fbab557 [IA64] warning removal: NR_CPUS linux/threads nullified (moved to linux-null). Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx> diff -r 21f633fd90e4 -r a4a4a28a1686 xen/include/asm-ia64/linux/README.origin --- a/xen/include/asm-ia64/linux/README.origin Mon Feb 27 20:16:16 2006 +++ b/xen/include/asm-ia64/linux/README.origin Mon Feb 27 20:31:10 2006 @@ -26,7 +26,6 @@ sort.h -> linux/include/linux/sort.h stddef.h -> linux/include/linux/stddef.h thread_info.h -> linux/include/linux/thread_info.h -threads.h -> linux/include/linux/threads.h time.h -> linux/include/linux/time.h timex.h -> linux/include/linux/timex.h topology.h -> linux/include/linux/topology.h diff -r 21f633fd90e4 -r a4a4a28a1686 xen/include/asm-ia64/linux/threads.h --- a/xen/include/asm-ia64/linux/threads.h Mon Feb 27 20:16:16 2006 +++ /dev/null Mon Feb 27 20:31:10 2006 @@ -1,36 +0,0 @@ -#ifndef _LINUX_THREADS_H -#define _LINUX_THREADS_H - -#include <linux/config.h> - -/* - * 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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |