mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Merge branch 'asm-generic-compile-test' into asm-generic
This series from Masahiro Yamada cleans up some of the kernel headers to build cleanly as part of the UAPI checks. Link: https://lore.kernel.org/lkml/20220210021129.3386083-1-masahiroy@kernel.org/#t * asm-generic-compile-test: reiserfs_xattr.h: add linux/reiserfs_xattr.h to UAPI compile-test coverage kexec.h: add linux/kexec.h to UAPI compile-test coverage fsmap.h: add linux/fsmap.h to UAPI compile-test coverage android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage shmbuf.h: add asm/shmbuf.h to UAPI compile-test coverage signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage
This commit is contained in:
@@ -100,7 +100,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
/* sigstack(2) is deprecated, and will be withdrawn in a future version
|
||||
|
||||
@@ -93,7 +93,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ struct siginfo;
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#endif /* _UAPI_M68K_SIGNAL_H */
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#ifndef _ASM_SHMBUF_H
|
||||
#define _ASM_SHMBUF_H
|
||||
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* The shmid64_ds structure for the MIPS architecture.
|
||||
* Note extra padding because this structure is passed back and forth
|
||||
@@ -16,7 +19,7 @@
|
||||
#ifdef __mips64
|
||||
struct shmid64_ds {
|
||||
struct ipc64_perm shm_perm; /* operation perms */
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
long shm_atime; /* last attach time */
|
||||
long shm_dtime; /* last detach time */
|
||||
long shm_ctime; /* last change time */
|
||||
@@ -29,7 +32,7 @@ struct shmid64_ds {
|
||||
#else
|
||||
struct shmid64_ds {
|
||||
struct ipc64_perm shm_perm; /* operation perms */
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
unsigned long shm_atime; /* last attach time */
|
||||
unsigned long shm_dtime; /* last detach time */
|
||||
unsigned long shm_ctime; /* last change time */
|
||||
|
||||
@@ -100,7 +100,7 @@ struct sigaction {
|
||||
/* IRIX compatible stack_t */
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
int ss_flags;
|
||||
} stack_t;
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
#define _PARISC_SHMBUF_H
|
||||
|
||||
#include <asm/bitsperlong.h>
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* The shmid64_ds structure for parisc architecture.
|
||||
|
||||
@@ -67,7 +67,7 @@ struct siginfo;
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#endif /* !__ASSEMBLY */
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#ifndef _ASM_POWERPC_SHMBUF_H
|
||||
#define _ASM_POWERPC_SHMBUF_H
|
||||
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -34,7 +37,7 @@ struct shmid64_ds {
|
||||
unsigned long shm_ctime; /* last change time */
|
||||
unsigned long __unused4;
|
||||
#endif
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_pid_t shm_cpid; /* pid of creator */
|
||||
__kernel_pid_t shm_lpid; /* pid of last operator */
|
||||
unsigned long shm_nattch; /* no. of current attaches */
|
||||
|
||||
@@ -86,7 +86,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#ifndef _SPARC_SHMBUF_H
|
||||
#define _SPARC_SHMBUF_H
|
||||
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* The shmid64_ds structure for sparc architecture.
|
||||
* Note extra padding because this structure is passed back and forth
|
||||
@@ -25,7 +28,7 @@ struct shmid64_ds {
|
||||
unsigned long shm_ctime_high;
|
||||
unsigned long shm_ctime; /* last change time */
|
||||
#endif
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_pid_t shm_cpid; /* pid of creator */
|
||||
__kernel_pid_t shm_lpid; /* pid of last operator */
|
||||
unsigned long shm_nattch; /* no. of current attaches */
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#ifndef _UAPI__SPARC_SIGNAL_H
|
||||
#define _UAPI__SPARC_SIGNAL_H
|
||||
|
||||
#include <asm/posix_types.h>
|
||||
#include <asm/sigcontext.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
@@ -171,7 +172,7 @@ struct __old_sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#if !defined(__x86_64__) || !defined(__ILP32__)
|
||||
#include <asm-generic/shmbuf.h>
|
||||
#else
|
||||
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* The shmid64_ds structure for x86 architecture with x32 ABI.
|
||||
*
|
||||
@@ -15,7 +19,7 @@
|
||||
|
||||
struct shmid64_ds {
|
||||
struct ipc64_perm shm_perm; /* operation perms */
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_long_t shm_atime; /* last attach time */
|
||||
__kernel_long_t shm_dtime; /* last detach time */
|
||||
__kernel_long_t shm_ctime; /* last change time */
|
||||
|
||||
@@ -104,7 +104,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
@@ -20,9 +20,12 @@
|
||||
#ifndef _XTENSA_SHMBUF_H
|
||||
#define _XTENSA_SHMBUF_H
|
||||
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
struct shmid64_ds {
|
||||
struct ipc64_perm shm_perm; /* operation perms */
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
unsigned long shm_atime; /* last attach time */
|
||||
unsigned long shm_atime_high;
|
||||
unsigned long shm_dtime; /* last detach time */
|
||||
|
||||
@@ -103,7 +103,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
#define __ASM_GENERIC_SHMBUF_H
|
||||
|
||||
#include <asm/bitsperlong.h>
|
||||
#include <asm/ipcbuf.h>
|
||||
#include <asm/posix_types.h>
|
||||
|
||||
/*
|
||||
* The shmid64_ds structure for x86 architecture.
|
||||
@@ -24,7 +26,7 @@
|
||||
|
||||
struct shmid64_ds {
|
||||
struct ipc64_perm shm_perm; /* operation perms */
|
||||
size_t shm_segsz; /* size of segment (bytes) */
|
||||
__kernel_size_t shm_segsz; /* size of segment (bytes) */
|
||||
#if __BITS_PER_LONG == 64
|
||||
long shm_atime; /* last attach time */
|
||||
long shm_dtime; /* last detach time */
|
||||
|
||||
@@ -85,7 +85,7 @@ struct sigaction {
|
||||
typedef struct sigaltstack {
|
||||
void __user *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
__kernel_size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user