fixed alignment of cached data

PERMISSION_HANDLING_BRANCH
Jean-Pierre André 2010-05-25 09:49:52 +02:00
parent 0578c15957
commit 74134fc76d
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ struct CACHED_GENERIC {
struct CACHED_GENERIC *previous;
void *variable;
size_t varsize;
void *fixed[0];
union {
/* force alignment for pointers and u64 */
u64 u64align;
void *ptralign;
} fixed[0];
} ;
struct CACHED_INODE {