Force same alignment on struct xinpgen as we have on struct xinpcb. This

fixes 32-bit builds.
This commit is contained in:
Gleb Smirnoff 2017-03-21 16:23:44 +00:00
parent cf8242898d
commit 3ae4b0e7e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315684

View File

@ -314,7 +314,7 @@ struct xinpgen {
u_int xig_count; /* number of PCBs at this time */
inp_gen_t xig_gen; /* generation count at this time */
so_gen_t xig_sogen; /* socket generation count this time */
};
} __aligned(8);
#ifdef _KERNEL
void in_pcbtoxinpcb(const struct inpcb *, struct xinpcb *);
#endif