Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Mon, 12 Sep 2005 16:17:43 -0700 | From | Tony Luck <> | Subject | Re: new asm-offsets.h patch problems |
| |
Adding a small delay to arch/ia64/Makefile (caution cut&pasted patch, will be mangled) gets rid of the non-determinism. I tried "make prepare" 50 times, and all of them generated the asm-offsets.h file correctly.
Without the sleep the score was 9 successes to 21 failures in 30 trials.
-Tony
--- a/arch/ia64/Makefile 2005-09-12 16:02:41.000000000 -0700 +++ b/arch/ia64/Makefile 2005-09-12 15:54:31.000000000 -0700 @@ -88,6 +88,7 @@ mkdir -p include/asm-ia64 [ -s include/asm-ia64/asm-offsets.h ] \ || echo "#define IA64_TASK_SIZE 0" > include/asm-ia64/asm-offsets.h + sleep 2 touch $@ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |