diff options
| author | Jon Tollefson <kniht@linux.vnet.ibm.com> | 2008-10-30 15:03:57 +0300 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2008-11-06 01:49:39 +0300 |
| commit | 7d4320f3d5ace5758111f2beac931376737f80f5 (patch) | |
| tree | d03a4b940ef08669cefdb63bdddd9e2a375274a4 /include/linux/debugobjects.h | |
| parent | d4ad304841a9790d4fa35e51d6aa9baeba631559 (diff) | |
| download | linux-7d4320f3d5ace5758111f2beac931376737f80f5.tar.xz | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
