From: Jon Tollefson Date: Thu, 30 Oct 2008 12:03:57 +0000 (+0000) Subject: powerpc: Hugetlb pgtable cache access cleanup X-Git-Tag: v2.6.29-rc1~574^2~126 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d4320f3d5ace5758111f2beac931376737f80f5;p=pandora-kernel.git powerpc: Hugetlb pgtable cache access cleanup Andrew Morton suggested that using a macro that makes an array reference look like a function call makes it harder to understand the code. This therefore removes the huge_pgtable_cache(psize) macro and replaces its uses with pgtable_cache[HUGE_PGTABLE_INDEX(psize)]. Signed-off-by: Jon Tollefson Cc: Nick Piggin Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Acked-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed