#ifndef __ASM_GENERIC_SEMBUF_H #define __ASM_GENERIC_SEMBUF_H #include /* * The semid64_ds structure for x86 architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * semid64_ds was originally meant to be architecture specific, but * everyone just ended up making identical copies without specific * optimizations, so we may just as well all use the same one. * * 64 bit architectures typically define a 64 bit __kernel_time_t, * so they do not need the first two padding words. * On big-endian systems, the padding is in the wrong place. * * Pad space is left for: * - 64-bit time_t to solve y2038 problem * - 2 miscellaneous 32-bit values */ struct semid64_ds { struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ __kernel_time_t sem_otime; /* last semop time */ #if __BITS_PER_LONG != 64 unsigned long __unused1; #endif __kernel_time_t sem_ctime; /* last change time */ #if __BITS_PER_LONG != 64 unsigned long __unused2; #endif unsigned long sem_nsems; /* no. of semaphores in array */ unsigned long __unused3; unsigned long __unused4; }; #endif /* __ASM_GENERIC_SEMBUF_H */ t-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/acpi
de:
AgeCommit message (Expand)AuthorFilesLines
authorJohannes Berg <johannes.berg@intel.com>2016-10-20 10:01:43 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-01-26 09:38:27 +0200
commit5bdaa0ef77065e07be5443b3cea5224ac72c9ac0 (patch)
tree437c172a7b0e8b5b785596f7521bef6ea3c47a05
parent1110f8e37d6601b19acdfa7fd0b0d63808156f6c (diff)
iwlwifi: allow memory debug TLV to specify the memory type
Due to some new features and changes, the firmware file will now specify what type of memory to dump, in upper 8 bits of the type field of the TLV. Parse it (types we don't understand are errors) and teach the code to dump periphery memory. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat