--- zzzz-none-000/linux-2.6.32.60/include/linux/slab.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/include/linux/slab.h 2010-07-16 10:24:07.000000000 +0000 @@ -235,12 +235,12 @@ * if available. Equivalent to kmalloc() in the non-NUMA single-node * case. */ -static inline void *kmalloc_node(size_t size, gfp_t flags, int node) +static inline void *kmalloc_node(size_t size, gfp_t flags, int node __attribute__ ((unused))) { return kmalloc(size, flags); } -static inline void *__kmalloc_node(size_t size, gfp_t flags, int node) +static inline void *__kmalloc_node(size_t size, gfp_t flags, int node __attribute__ ((unused))) { return __kmalloc(size, flags); } @@ -248,7 +248,7 @@ void *kmem_cache_alloc(struct kmem_cache *, gfp_t); static inline void *kmem_cache_alloc_node(struct kmem_cache *cachep, - gfp_t flags, int node) + gfp_t flags, int node __attribute__ ((unused))) { return kmem_cache_alloc(cachep, flags); }