lkml.org 
[lkml]   [2005]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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/
\
 
 \ /
  Last update: 2005-09-13 01:20    [W:0.025 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site