mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:40:58 +07:00
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>
This commit is contained in:
parent
fb46f341d9
commit
bda5b655fe
@ -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 [].
|
||||
*/
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user