For mips, the usespace address is too high.

1 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap02.c
2 +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap02.c
3 @@ -66,8 +66,18 @@
4  #define PAGE_SIZE      ((1UL) << 12)   /* Normal page size */
5  #define HPAGE_SIZE     ((1UL) << 24)   /* Huge page size */
6  #define MAP_SIZE       (2*HPAGE_SIZE)  /* Huge map page size */
7 +#if defined(__mips__)
8 +#if __WORDSIZE==32
9 +#define LOW_ADDR       (void *)(0x40000000)
10 +#define LOW_ADDR2      (void *)(0x50000000)
11 +#else
12  #define LOW_ADDR       (void *)(0x80000000)
13  #define LOW_ADDR2      (void *)(0x90000000)
14 +#endif
15 +#else
16 +#define LOW_ADDR       (void *)(0x80000000)
17 +#define LOW_ADDR2      (void *)(0x90000000)
18 +#endif
19
20  char* TEMPFILE="mmapfile";
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to