hi,everybody!
I got an error message while make uClinux:
......
CHK include/linux/version.h
CHK include/linux/compile.h
CHK usr/initramfs_list
CC mm/slab.o
mm/slab.c: In function `__do_kmalloc':
mm/slab.c:3182: error: too few arguments to function `__cache_alloc'
mm/slab.c:3185: error: structure has no member named `cs_size'
......
And when I came into slab.c, I found '__cache_alloc' in '__do_kmalloc' only
has two parameters, but it declared three parameters.
'__do_kmalloc' code shows below:
-------------------------------------------
static __always_inline void *__do_kmalloc(size_t size, gfp_t flags,
void *caller)
{
struct kmem_cache *cachep;
void *a;
cachep = __find_general_cachep(size, flags);
if (unlikely(cachep == NULL))
return NULL;
a = __cache_alloc(cachep, flags);
kmalloc_account(a, cachep->cs_size, size);
return a;
}
--------------------------------------------
And the second error ,struct cachep doesn't have member 'cs_size'
What's the metter? Is it bugs?
Please help me!
Any help would be appreciate! Thanks~
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev