[OpenAFS] Linux PPC: aklog crashes with LWP

Derrick J Brashear shadow@dementia.org
Wed, 18 Apr 2007 14:22:54 -0400 (EDT)


On Wed, 18 Apr 2007, Russ Allbery wrote:

> Derrick J Brashear <shadow@dementia.org> writes:
>
>> Offhand guess, switching to ucontext for linux ppc will fix this with a
>> minimum of fuss
>
> I'm giving Thomas the following patch and asking him to try it.  Will we
> need a similar patch on all other Linux architectures?  I see that
> currently only i386 and amd64 are using it.

Not necessarily but it's probably not a bad idea.

> --- src/config/param.ppc_linux26.h      (revision 2485)
> +++ src/config/param.ppc_linux26.h      (local)
> @@ -74,6 +74,11 @@
> #endif
> #endif /* KERNEL */
>
> +#ifdef __GLIBC__
> +#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
> +#define USE_UCONTEXT
> +#endif
> +#endif
> #endif /* AFS_PARAM_H */
>
> #else /* !defined(UKERNEL) */
>
> -- 
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>