diff -Naurp -X /home/jbarnes/dontdiff 080-ide-simulator-hacks.patch/init/main.c 081-cpu-startup-simulator-hacks.patch/init/main.c --- 080-ide-simulator-hacks.patch/init/main.c Thu Feb 12 10:23:10 2004 +++ 081-cpu-startup-simulator-hacks.patch/init/main.c Thu Feb 12 11:16:53 2004 @@ -41,6 +41,10 @@ #include #include #include +#ifdef CONFIG_IA64_SGI_SN_SIM +#include +#endif + #include #include @@ -182,6 +186,11 @@ void __init calibrate_delay(void) unsigned long ticks, loopbit; int lps_precision = LPS_PREC; +#ifdef CONFIG_IA64_SGI_SN_SIM + if (IS_RUNNING_ON_SIMULATOR() && smp_processor_id() > 0) + return; +#endif + loops_per_jiffy = (1<<12); printk("Calibrating delay loop... ");