[Libhugetlbfs-devel] Fix calling method for gettid()

2006-10-31 Thread David Gibson
Sadly, none of the standard headers include a proper prototype for the gettid() system call, but we need it for the private version of alloc-instantiate-race. Our current method of getting it - invoking the _syscall0 macro doesn't work on all systems. This patch implements a more robust approach,

[Libhugetlbfs-devel] Use bash, not /bin/sh for the run_tests script

2006-10-31 Thread David Gibson
The run_tests script includes a couple of base extensions (the "function" syntax, and the ("$@") array generating construct). Therefore, we should list bash in the #! line, not just /bin/sh. This recently became relevant on Ubuntu edgy which has /bin/sh a link to dash, not bash, by default. Signe

[Libhugetlbfs-devel] Fix .note.SuSE and .note.ABI-tag sections in ld scripts

2006-10-31 Thread Steve Fox
ldscripts: Fix .note.SuSE and .note.ABI-tag sections Signed-off-by: Steve Fox <[EMAIL PROTECTED]> --- This caused un-runnable binaries to be generated on x86_64 on SUSE. ldscripts/elf32ppclinux.xB |2 +- ldscripts/elf32ppclinux.xBDT |2 +- ldscripts/elf64ppc.xB|2 +- ldscr

Re: [Libhugetlbfs-devel] Improved exorcism

2006-10-31 Thread Nishanth Aravamudan
On 31.10.2006 [13:18:18 +1100], David Gibson wrote: > On Mon, Oct 30, 2006 at 04:01:54PM -0800, Nishanth Aravamudan wrote: > > On 31.10.2006 [10:26:47 +1100], David Gibson wrote: > > > On Mon, Oct 30, 2006 at 10:26:56AM -0800, Nishanth Aravamudan wrote: > > > > On 30.10.2006 [15:56:43 +1100], David

Re: [Libhugetlbfs-devel] Improved exorcism

2006-10-31 Thread Nishanth Aravamudan
On 31.10.2006 [13:16:34 +1100], David Gibson wrote: > On Mon, Oct 30, 2006 at 01:45:41PM -0800, Nishanth Aravamudan wrote: > > On 30.10.2006 [15:56:43 +1100], David Gibson wrote: > > > Latest daemon removal path. Updated to apply clean on top of the > > > latest changes in the git tree, otherwise