On Thu, Mar 15, 2007 at 12:28:25PM -0700, Nishanth Aravamudan wrote:
> truncate_above_4GB: Must be built like it is on powerpc due to address
> space restrictions on hugepages.
> brk_near_huge: add next_chunk case for ia64 to express that IA64 huge
> page mappings start at 0x8000000000000000UL (2^63).
> icache-hygeine: IA64 also gets a SIGILL in the icache-hygeiene test, so
> add it to the powerpc conditional and update the comment.
> 
> Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>

Acked-by: David Gibson <[EMAIL PROTECTED]>

[snip]
> diff --git a/tests/brk_near_huge.c b/tests/brk_near_huge.c
> index be54914..4ed6bc9 100644
> --- a/tests/brk_near_huge.c
> +++ b/tests/brk_near_huge.c
> @@ -47,11 +47,16 @@ void *next_chunk(void *addr)
>               /* 1TB segments above */
>               return PALIGN(addr, 0x10000000000UL);
>  }
> -#elif __powerpc__
> +#elif defined(__powerpc__)
>  void *next_chunk(void *addr)
>  {
>       return PALIGN(addr, 0x10000000UL);
>  }
> +#elif defined(__ia64__)
> +void *next_chunk(void *addr)
> +{
> +     return PALIGN(addr, 0x8000000000000000UL);
> +}

Now that we have the slice functions in the library, we should export
them and use them here.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to