From: Robert P. J. Day Date: Wed, 17 Oct 2007 06:30:05 +0000 (-0700) Subject: Delete gcc-2.95 compatible structure definition. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bda5b655fe663c86ae16436ab983a656d73b6e62;p=mv-sheeva.git Delete gcc-2.95 compatible structure definition. Since nothing earlier than gcc-3.2 is supported for kernel compilation, that 2.95 hack can be removed. Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index 18fa1a65f57..3ce9bc024d6 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -267,11 +267,10 @@ struct array_cache { unsigned int batchcount; unsigned int touched; spinlock_t lock; - void *entry[0]; /* + void *entry[]; /* * Must have this definition in here for the proper * alignment of array_cache. Also simplifies accessing * the entries. - * [0] is for gcc 2.95. It should really be []. */ };