All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markos Chandras <markos.chandras@gmail.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH 2/2] ltp: Add support for Imagination Technologies Meta
Date: Wed, 13 Mar 2013 14:04:54 +0000	[thread overview]
Message-ID: <1363183494-20392-1-git-send-email-markos.chandras@gmail.com> (raw)

From: Markos Chandras <markos.chandras@imgtec.com>

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.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 lib/cloner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/cloner.c b/lib/cloner.c
index 3835184..fa18731 100644
--- 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__)
 	ret = clone(fn, stack, clone_flags, arg);
 #elif defined(__ia64__)
 	ret = clone2(fn, stack, stack_size, clone_flags, arg, NULL, NULL, NULL);
-- 
1.7.1



------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2013-03-13 14:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 14:04 Markos Chandras [this message]
2013-03-13 17:22 ` [LTP] [PATCH 2/2] ltp: Add support for Imagination Technologies Meta Mike Frysinger
2013-03-13 17:28   ` Markos Chandras
2013-03-14 16:52     ` Mike Frysinger
2013-03-14 16:59       ` Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363183494-20392-1-git-send-email-markos.chandras@gmail.com \
    --to=markos.chandras@gmail.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.