diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-07-27 14:43:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:47 -0400 |
commit | c10b873695c6a1de0d8ebab40b525575ca576683 (patch) | |
tree | f0d5f3ce15c8259209dcea621b0b06396bbac25e /include/linux/slab.h | |
parent | 8c86cb127b2b7614903cb2a38db3207488a0405a (diff) |
[PATCH] Really __nocast-annotate kmalloc_node()
One chunk was lost somewhere between my and Andrew's machine.
Noticed by Victor Fusco.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/slab.h')
-rw-r--r-- | include/linux/slab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 4c8e552471b0..80b2dfde2e80 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -111,7 +111,7 @@ static inline void *kmem_cache_alloc_node(kmem_cache_t *cachep, int flags, int n | |||
111 | { | 111 | { |
112 | return kmem_cache_alloc(cachep, flags); | 112 | return kmem_cache_alloc(cachep, flags); |
113 | } | 113 | } |
114 | static inline void *kmalloc_node(size_t size, int flags, int node) | 114 | static inline void *kmalloc_node(size_t size, unsigned int __nocast flags, int node) |
115 | { | 115 | { |
116 | return kmalloc(size, flags); | 116 | return kmalloc(size, flags); |
117 | } | 117 | } |