diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -861,7 +861,7 @@ static void cache_estimate(unsigned long gfporder, size_t buffer_size, | |||
861 | *left_over = slab_size - nr_objs*buffer_size - mgmt_size; | 861 | *left_over = slab_size - nr_objs*buffer_size - mgmt_size; |
862 | } | 862 | } |
863 | 863 | ||
864 | #define slab_error(cachep, msg) __slab_error(__FUNCTION__, cachep, msg) | 864 | #define slab_error(cachep, msg) __slab_error(__func__, cachep, msg) |
865 | 865 | ||
866 | static void __slab_error(const char *function, struct kmem_cache *cachep, | 866 | static void __slab_error(const char *function, struct kmem_cache *cachep, |
867 | char *msg) | 867 | char *msg) |
@@ -2156,7 +2156,7 @@ kmem_cache_create (const char *name, size_t size, size_t align, | |||
2156 | */ | 2156 | */ |
2157 | if (!name || in_interrupt() || (size < BYTES_PER_WORD) || | 2157 | if (!name || in_interrupt() || (size < BYTES_PER_WORD) || |
2158 | size > KMALLOC_MAX_SIZE) { | 2158 | size > KMALLOC_MAX_SIZE) { |
2159 | printk(KERN_ERR "%s: Early error in slab %s\n", __FUNCTION__, | 2159 | printk(KERN_ERR "%s: Early error in slab %s\n", __func__, |
2160 | name); | 2160 | name); |
2161 | BUG(); | 2161 | BUG(); |
2162 | } | 2162 | } |