Skip to contentSkip to conversation

ltp: Add support for Imagination Technologies Meta

PATCH Applied Markos Chandras 2 participants 3 messages Mar 14, 2013 – Mar 16, 2013 Library code

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ltp: Add support for Imagination Technologies Meta

From: Markos Chandras <[email protected]>

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. Also fix the #if/def macro for s390x.

---
 lib/cloner.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
lib/cloner.c +2 -2
index 3835184..a68ff1e 100644
@@ -31,7 +31,7 @@
 
 #undef clone			/* we want to use clone() */
 
-#if defined (__s390__) || (__s390x__)
+#if defined (__s390__) || defined(__s390x__)
 #define clone __clone
 extern int __clone(int (void *), void *, int, void *);
 #elif defined(__ia64__)
@@ -54,7 +54,7 @@ ltp_clone(unsigned long clone_flags, int (*fn) (void *arg), void *arg,
 {
 	int ret;
 
-#if defined(__hppa__)
+#if defined(__hppa__) || defined(__metag__)
 	ret = clone(fn, stack, clone_flags, arg);
 #elif defined(__ia64__)
 	ret = clone2(fn, stack, stack_size, clone_flags, arg, NULL, NULL, NULL);
Signature · 13 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 5 lines · On Thursday 14 March 2013 12:55:51 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. Also fix the #if/def macro for s390x.

merged, thanks
-mike

------------------------------------------------------------------------------
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

#2 lore raw
Quoted 9 lines · Mike Frysinger
Quoted 5 lines · On Thursday 14 March 2013 12:55:51 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. Also fix the #if/def macro for s390x.

merged, thanks
-mike

Thanks Mike

Signature · 12 lines
Regards,
Markos Chandras

------------------------------------------------------------------------------
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