diff -rupN linux-2.6.11-rc1/arch/i386/Kconfig linux-2.6.11-rc1.config-hz/arch/i386/Kconfig --- linux-2.6.11-rc1/arch/i386/Kconfig 2005-01-12 19:19:39.000000000 +0100 +++ linux-2.6.11-rc1.config-hz/arch/i386/Kconfig 2005-01-12 19:42:22.000000000 +0100 @@ -1051,6 +1051,27 @@ source "arch/i386/kernel/cpu/cpufreq/Kco endmenu +choice + prompt "Kernel internal timer frequency" + default HZ_1000 + +config HZ_1000 + bool "1000" + +config HZ_512 + bool "512" + +config HZ_100 + bool "100" + +endchoice + +config HZ + int + default "1000" if HZ_1000 + default "512" if HZ_512 + default "100" if HZ_100 + menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" config X86_VISWS_APIC diff -rupN linux-2.6.11-rc1/arch/ppc/Kconfig linux-2.6.11-rc1.config-hz/arch/ppc/Kconfig --- linux-2.6.11-rc1/arch/ppc/Kconfig 2005-01-12 19:19:39.000000000 +0100 +++ linux-2.6.11-rc1.config-hz/arch/ppc/Kconfig 2005-01-12 19:42:22.000000000 +0100 @@ -1042,6 +1042,27 @@ source "drivers/zorro/Kconfig" endmenu +choice + prompt "Kernel internal timer frequency" + default HZ_1000 + +config HZ_1000 + bool "1000" + +config HZ_512 + bool "512" + +config HZ_100 + bool "100" + +endchoice + +config HZ + int + default "1000" if HZ_1000 + default "512" if HZ_512 + default "100" if HZ_100 + menu "Bus options" config ISA diff -rupN linux-2.6.11-rc1/arch/x86_64/Kconfig linux-2.6.11-rc1.config-hz/arch/x86_64/Kconfig --- linux-2.6.11-rc1/arch/x86_64/Kconfig 2005-01-12 19:19:40.000000000 +0100 +++ linux-2.6.11-rc1.config-hz/arch/x86_64/Kconfig 2005-01-12 19:42:22.000000000 +0100 @@ -382,6 +382,27 @@ source "arch/x86_64/kernel/cpufreq/Kconf endmenu +choice + prompt "Kernel internal timer frequency" + default HZ_1000 + +config HZ_1000 + bool "1000" + +config HZ_512 + bool "512" + +config HZ_100 + bool "100" + +endchoice + +config HZ + int + default "1000" if HZ_1000 + default "512" if HZ_512 + default "100" if HZ_100 + menu "Bus options (PCI etc.)" config PCI diff -rupN linux-2.6.11-rc1/include/asm-i386/param.h linux-2.6.11-rc1.config-hz/include/asm-i386/param.h --- linux-2.6.11-rc1/include/asm-i386/param.h 2004-08-14 13:14:29.000000000 +0200 +++ linux-2.6.11-rc1.config-hz/include/asm-i386/param.h 2005-01-12 19:42:22.000000000 +0100 @@ -2,7 +2,7 @@ #define _ASMi386_PARAM_H #ifdef __KERNEL__ -# define HZ 1000 /* Internal kernel timer frequency */ +# define HZ CONFIG_HZ /* Internal kernel timer frequency */ # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #endif diff -rupN linux-2.6.11-rc1/include/asm-ppc/param.h linux-2.6.11-rc1.config-hz/include/asm-ppc/param.h --- linux-2.6.11-rc1/include/asm-ppc/param.h 2004-03-11 14:01:30.000000000 +0100 +++ linux-2.6.11-rc1.config-hz/include/asm-ppc/param.h 2005-01-12 19:42:22.000000000 +0100 @@ -2,7 +2,7 @@ #define _ASM_PPC_PARAM_H #ifdef __KERNEL__ -#define HZ 1000 /* internal timer frequency */ +#define HZ CONFIG_HZ /* internal timer frequency */ #define USER_HZ 100 /* for user interfaces in "ticks" */ #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ #endif /* __KERNEL__ */ diff -rupN linux-2.6.11-rc1/include/asm-x86_64/param.h linux-2.6.11-rc1.config-hz/include/asm-x86_64/param.h --- linux-2.6.11-rc1/include/asm-x86_64/param.h 2004-03-11 14:01:30.000000000 +0100 +++ linux-2.6.11-rc1.config-hz/include/asm-x86_64/param.h 2005-01-12 19:42:22.000000000 +0100 @@ -2,7 +2,7 @@ #define _ASMx86_64_PARAM_H #ifdef __KERNEL__ -# define HZ 1000 /* Internal kernel timer frequency */ +# define HZ CONFIG_HZ /* Internal kernel timer frequency */ # define USER_HZ 100 /* .. some user interfaces are in "ticks */ #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #endif