Skip to content

Commit 53789d2

Browse files
vitkyrkaJesper Nilsson
authored andcommitted
CRIS: UAPI: use generic sembuf.h
CRIS's sembuf.h is equivalent to the asm-generic version. Effective diff: -#ifndef _CRIS_SEMBUF_H -#define _CRIS_SEMBUF_H +#ifndef __ASM_GENERIC_SEMBUF_H +#define __ASM_GENERIC_SEMBUF_H +#include <asm/bitsperlong.h> struct semid64_ds { struct ipc64_perm sem_perm; __kernel_time_t sem_otime; +#if __BITS_PER_LONG != 64 unsigned long __unused1; +#endif __kernel_time_t sem_ctime; +#if __BITS_PER_LONG != 64 unsigned long __unused2; +#endif unsigned long sem_nsems; unsigned long __unused3; unsigned long __unused4; Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Jesper Nilsson <[email protected]>
1 parent c823b97 commit 53789d2

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

arch/cris/include/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ generic-y += poll.h
3232
generic-y += preempt.h
3333
generic-y += resource.h
3434
generic-y += sections.h
35+
generic-y += sembuf.h
3536
generic-y += siginfo.h
3637
generic-y += sockios.h
3738
generic-y += statfs.h

arch/cris/include/uapi/asm/sembuf.h

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)