summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorRobert P. J. Day2007-10-17 08:30:05 +0200
committerLinus Torvalds2007-10-17 17:42:58 +0200
commitbda5b655fe663c86ae16436ab983a656d73b6e62 (patch)
tree5c0a580aab8dba20fdd9770597706a567b6fe50c /mm/slab.c
parentreiserfs: workaround for dead loop in finish_unfinished (diff)
downloadkernel-qcow2-linux-bda5b655fe663c86ae16436ab983a656d73b6e62.tar.gz
kernel-qcow2-linux-bda5b655fe663c86ae16436ab983a656d73b6e62.tar.xz
kernel-qcow2-linux-bda5b655fe663c86ae16436ab983a656d73b6e62.zip
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 <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 18fa1a65f57b..3ce9bc024d67 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 [].
*/
};