summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorChristoph Hellwig2006-06-23 11:03:17 +0200
committerLinus Torvalds2006-06-23 16:42:48 +0200
commite1b6aa6f1404f162697650df2cdb6c374b1d6a5b (patch)
tree5d7f93f6d9a315b66fbc2bcfb7cc5d866a7013e9 /drivers/acpi
parent[PATCH] tightening hugetlb strict accounting (diff)
downloadkernel-qcow2-linux-e1b6aa6f1404f162697650df2cdb6c374b1d6a5b.tar.gz
kernel-qcow2-linux-e1b6aa6f1404f162697650df2cdb6c374b1d6a5b.tar.xz
kernel-qcow2-linux-e1b6aa6f1404f162697650df2cdb6c374b1d6a5b.zip
[PATCH] slab: clean up kmem_getpages
The last ifdef addition hit the ugliness treshold on this functions, so: - rename the variable i to nr_pages so it's somewhat descriptive - remove the addr variable and do the page_address call at the very end - instead of ifdef'ing the whole alloc_pages_node call just make the __GFP_COMP addition to flags conditional - rewrite the __GFP_COMP comment to make sense Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions