]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Fix build for sim_defconfig
authorTony Luck <tony.luck@intel.com>
Mon, 11 Feb 2008 21:23:46 +0000 (13:23 -0800)
committerTony Luck <tony.luck@intel.com>
Mon, 11 Feb 2008 21:23:46 +0000 (13:23 -0800)
commit8817d8687fbba7f41899346a0d9c3c083188e16e
treee4095d367e914e78cededa8bae1c31f58a8b80a8
parent391ee3650243008683b428cfd3df6c0cb66d67a2
[IA64] Fix build for sim_defconfig

Commit 4c31cc404ac083f144cf948ef2715b5e90f4ba76 broke the build
for this config because the sim_defconfig selects CONFIG_HZ=250
but include/asm-ia64/param.h has an ifdef for the simulator to
force HZ to 32.  So we ended up with a kernel/timeconst.h set
for HZ=250 ... which then failed the check for the right HZ
value and died with:

Drop the #ifdef magic from param.h and make force CONFIG_HZ=32
directly for the simulator.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/Kconfig
include/asm-ia64/param.h