Add 32-bit compat code for AIO kevent flags introduced in revision 230857.

This commit is contained in:
David Xu 2012-02-05 04:49:31 +00:00
parent 942efd602f
commit d56e058a79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231006
2 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ struct sigevent32 {
uint32_t _function;
uint32_t _attribute;
} _sigev_thread;
unsigned short _kevent_flags;
uint32_t __spare__[8];
} _sigev_un;
};

View File

@ -2706,6 +2706,7 @@ convert_sigevent32(struct sigevent32 *sig32, struct sigevent *sig)
break;
case SIGEV_KEVENT:
CP(*sig32, *sig, sigev_notify_kqueue);
CP(*sig32, *sig, sigev_notify_kevent_flags);
PTRIN_CP(*sig32, *sig, sigev_value.sival_ptr);
break;
default: