aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorJon Tollefson <kniht@linux.vnet.ibm.com>2008-10-30 08:03:57 -0400
committerPaul Mackerras <paulus@samba.org>2008-11-05 17:49:39 -0500
commit7d4320f3d5ace5758111f2beac931376737f80f5 (patch)
treed03a4b940ef08669cefdb63bdddd9e2a375274a4 /arch/powerpc/boot
parentd4ad304841a9790d4fa35e51d6aa9baeba631559 (diff)
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 <kniht@linux.vnet.ibm.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions