Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bda5b655 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds
Browse files

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: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fb46f341
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -267,11 +267,10 @@ struct array_cache {
	unsigned int batchcount;
	unsigned int batchcount;
	unsigned int touched;
	unsigned int touched;
	spinlock_t lock;
	spinlock_t lock;
	void *entry[0];	/*
	void *entry[];	/*
			 * Must have this definition in here for the proper
			 * Must have this definition in here for the proper
			 * alignment of array_cache. Also simplifies accessing
			 * alignment of array_cache. Also simplifies accessing
			 * the entries.
			 * the entries.
			 * [0] is for gcc 2.95. It should really be [].
			 */
			 */
};
};