wait.h in linux 2.2 and 2.4

Love lha at stacken.kth.se
Mon Sep 25 11:17:54 CEST 2000


Dave Morrison <dave at bnl.gov> writes:

> Hi folks,
> 
> I've had trouble getting recent versions of arla to compile in the face of
> recent changes in the 2.2.x linux kernels.  It seems there've been changes
> in linux/wait.h that satisfy arla's check for HAVE_WAIT_QUEUE_HEAD_T, but
> which still lack the `task_list' element found in the (almost) 2.4
> kernels.  This causes the compilation of xfs/linux/xfs_dev.c to croak.  I
> gamely whipped up a new autoconf macro to do the right kind of check and
> tweaked the ifdef's in xfs_dev.c to use it.  Maybe it's not exactly the
> right thing to do, but it seems to work for me in both the 2.2 and 2.4
> worlds.  So, here's a patch against the CVS sources, followed by a new
> autoconf macro:

Ok. I applied the patch and tried it agaist 2.2.18-pre9 (alan cox).

> Hope this is useful,

Yes, thanks.

Love





More information about the Arla-drinkers mailing list