From: Riku Voipio <[email protected]>

Signed-off-by: Riku Voipio <[email protected]>
---
 testcases/kernel/mem/shmt/shmt09.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/mem/shmt/shmt09.c 
b/testcases/kernel/mem/shmt/shmt09.c
index 5e7e52e..8f8c3c7 100644
--- a/testcases/kernel/mem/shmt/shmt09.c
+++ b/testcases/kernel/mem/shmt/shmt09.c
@@ -61,7 +61,7 @@ int TST_TOTAL = 4;            /* Total number of test cases. 
*/
 #define INCREMENT              8388608 /* 8Mb */
 #elif defined (__mips__)  ||  defined (__hppa__) || defined (__sparc__)
 #define INCREMENT              262144  /* 256Kb */
-#elif defined __sh__ || defined (__arm__)
+#elif defined __sh__ || defined (__arm__) || defined(__aarch64__)
 #define INCREMENT              16384   /* 16kb */
 #else
 #define INCREMENT              SHMLBA
@@ -162,7 +162,7 @@ int main()
        tst_resm(TPASS, "sbrk, shmat");
 
 /*--------------------------------------------------------*/
-#if defined (__ia64__) || defined(__mips__) || defined(__hppa__) || 
defined(__arm__)
+#if defined (__ia64__) || defined(__mips__) || defined(__hppa__) || 
defined(__arm__) || defined(__aarch64__)
        while ((vp = sbrk(INCREMENT)) != (void *)-1) ;
        if (errno != ENOMEM) {
                tst_resm(TFAIL, "Error: sbrk failed, errno = %d\n", errno);
-- 
1.7.10.4


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to