aarch64: fix definition of sem_nsems in semid_ds structure
authorRich Felker <dalias@aerifal.cx>
Wed, 1 Apr 2015 23:12:18 +0000 (19:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 1 Apr 2015 23:12:18 +0000 (19:12 -0400)
commitdfc1a37c441fe271dfb19c7de62acadc73e255aa
tree24bfce148936dbb771fcdf41690fcecb9667cb1d
parentb24d813d24c412a2e78bab8ef224a1d4c7c25de8
aarch64: fix definition of sem_nsems in semid_ds structure

POSIX requires the sem_nsems member to have type unsigned short. we
have to work around the incorrect kernel type using matching
endian-specific padding.
arch/aarch64/bits/sem.h