On Wednesday 13 March 2013 10:04:54 Markos Chandras wrote:
> This patch adds support for Imagination's Meta architecture.
> The Meta Linux kernel port will be included in the Linux Kernel
> v3.9. The Meta stack grows upwards so we need to add the appropriate
> __metag__ macro to the ltp_clone function.

i thought only the parisc people were crazy enough to do that ;)

> --- a/lib/cloner.c
> +++ b/lib/cloner.c
> @@ -54,7 +54,7 @@ ltp_clone(unsigned long clone_flags, int (*fn) (void
> *arg), void *arg, {
>       int ret;
> 
> -#if defined(__hppa__)
> +#if defined(__hppa__) || (__metag__)

you're missing "defined"

>       ret = clone(fn, stack, clone_flags, arg);
>  #elif defined(__ia64__)
>       ret = clone2(fn, stack, stack_size, clone_flags, arg, NULL, NULL, NULL);

i wonder if we could make this into a runtime test.  like declare a buffer on 
the stack, then call alloca(), and compare the resulting pointers.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to