When I start compile kernel on Fedora 13 i386 (use how-to http://fedoraproject.org/wiki/Docs/CustomKernel) I have following error messages: CC arch/x86/kernel/cpu/vmware.o arch/x86/kernel/cpu/vmware.c: In function 'vmware_get_tsc_khz': arch/x86/kernel/cpu/vmware.c:66: error: 'preset_lpj' undeclared (first use in this function) arch/x86/kernel/cpu/vmware.c:66: error: (Each undeclared identifier is reported only once arch/x86/kernel/cpu/vmware.c:66: error: for each function it appears in.) arch/x86/kernel/cpu/vmware.c:68: error: 'HZ' undeclared (first use in this function) make[3]: *** [arch/x86/kernel/cpu/vmware.o] Error 1 make[2]: *** [arch/x86/kernel/cpu] Error 2 make[1]: *** [arch/x86/kernel] Error 2 make: *** [arch/x86] Error 2 Before making new custom kernel all Fedora patches was excludes. Kernel config see attach (config-2.6.34.4).
Created attachment 27450 [details] kernel config
have a look at https://lkml.org/lkml/2010/8/14/8 does adding the header file also workaround your problem?
apparently, this has already been fixed in latest 2.6.34-stable kernel see http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=4070f4352f9ccde179140a243b3c0bbb36203e5a so, can someone close this bugticket?