diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2021-01-08 11:41:26 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2021-04-01 11:11:29 +0800 |
commit | a736f13279640936c2864c338e7c09c4777e1766 (patch) | |
tree | fbe30677f70fadad92d5514611463db9a8f1dcd3 /linux-headers/include/asm-generic/sembuf.h | |
parent | 457daed7711b579a1ee538a9e1f202735bfe8903 (diff) | |
download | riscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.zip riscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.tar.gz riscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.tar.bz2 |
Update linux header to 5.10.5
Diffstat (limited to 'linux-headers/include/asm-generic/sembuf.h')
-rw-r--r-- | linux-headers/include/asm-generic/sembuf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-headers/include/asm-generic/sembuf.h b/linux-headers/include/asm-generic/sembuf.h index 0bae010..0e709bd 100644 --- a/linux-headers/include/asm-generic/sembuf.h +++ b/linux-headers/include/asm-generic/sembuf.h @@ -3,6 +3,7 @@ #define __ASM_GENERIC_SEMBUF_H #include <asm/bitsperlong.h> +#include <asm/ipcbuf.h> /* * The semid64_ds structure for x86 architecture. @@ -13,9 +14,8 @@ * everyone just ended up making identical copies without specific * optimizations, so we may just as well all use the same one. * - * 64 bit architectures use a 64-bit __kernel_time_t here, while + * 64 bit architectures use a 64-bit long time field here, while * 32 bit architectures have a pair of unsigned long values. - * so they do not need the first two padding words. * * On big-endian systems, the padding is in the wrong place for * historic reasons, so user space has to reconstruct a time_t @@ -29,8 +29,8 @@ struct semid64_ds { struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ #if __BITS_PER_LONG == 64 - __kernel_time_t sem_otime; /* last semop time */ - __kernel_time_t sem_ctime; /* last change time */ + long sem_otime; /* last semop time */ + long sem_ctime; /* last change time */ #else unsigned long sem_otime; /* last semop time */ unsigned long sem_otime_high; |