Re: new asm-offsets.h patch problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux