diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -267,11 +267,10 @@ struct array_cache { | |||
267 | unsigned int batchcount; | 267 | unsigned int batchcount; |
268 | unsigned int touched; | 268 | unsigned int touched; |
269 | spinlock_t lock; | 269 | spinlock_t lock; |
270 | void *entry[0]; /* | 270 | void *entry[]; /* |
271 | * Must have this definition in here for the proper | 271 | * Must have this definition in here for the proper |
272 | * alignment of array_cache. Also simplifies accessing | 272 | * alignment of array_cache. Also simplifies accessing |
273 | * the entries. | 273 | * the entries. |
274 | * [0] is for gcc 2.95. It should really be []. | ||
275 | */ | 274 | */ |
276 | }; | 275 | }; |
277 | 276 | ||