diff options
author | Glauber Costa <glommer@parallels.com> | 2012-06-14 08:17:21 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-07-02 06:40:06 -0400 |
commit | a618e89f1e6fb3cdfc8ef0ad54a0d57830bf8881 (patch) | |
tree | 792e8211492e6e93f65a76f9ef29bc38b65209e8 /include/linux/slab_def.h | |
parent | 43d77867a4f333de4e4189114c480dd365133c09 (diff) |
slab: rename gfpflags to allocflags
A consistent name with slub saves us an acessor function.
In both caches, this field represents the same thing. We would
like to use it from the mem_cgroup code.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Acked-by: Christoph Lameter <cl@linux.com>
CC: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/linux/slab_def.h')
-rw-r--r-- | include/linux/slab_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 1d93f27d81de..0c634fa376c9 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h | |||
@@ -39,7 +39,7 @@ struct kmem_cache { | |||
39 | unsigned int gfporder; | 39 | unsigned int gfporder; |
40 | 40 | ||
41 | /* force GFP flags, e.g. GFP_DMA */ | 41 | /* force GFP flags, e.g. GFP_DMA */ |
42 | gfp_t gfpflags; | 42 | gfp_t allocflags; |
43 | 43 | ||
44 | size_t colour; /* cache colouring range */ | 44 | size_t colour; /* cache colouring range */ |
45 | unsigned int colour_off; /* colour offset */ | 45 | unsigned int colour_off; /* colour offset */ |