move umode_t typedef from asm/types.h to
Subsystems (6)
cover move umode_t typedef from asm/types.h to
This patchseries is marked "for-next" because it contains arch/riscv changes.
Antony Pavlov (2):
MIPS: asm/types.h: drop unused stuff
move umode_t typedef from asm/types.h to linux/types.h
arch/arm/include/asm/types.h | 2 -- arch/blackfin/include/asm/types.h | 2 -- arch/mips/include/asm/types.h | 35 ------------------------------- arch/nios2/include/asm/types.h | 2 -- arch/openrisc/include/asm/types.h | 2 -- arch/ppc/include/asm/types.h | 2 -- arch/riscv/include/asm/types.h | 2 -- arch/sandbox/include/asm/types.h | 2 -- arch/x86/include/asm/types.h | 2 -- include/linux/types.h | 1 + 10 files changed, 1 insertion(+), 51 deletions(-)
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/2 MIPS: asm/types.h: drop unused stuff
Signed-off-by Antony Pavlov <[email protected]>
--- arch/mips/include/asm/types.h | 29 ----------------------------- 1 file changed, 29 deletions(-)
arch/mips/include/asm/types.h +0 -29
@@ -10,39 +10,10 @@#include <asm-generic/int-ll64.h> -/* -* We don't use int-l64.h for the kernel anymore but still use it for -* userspace to avoid code changes. -*/ -#if (_MIPS_SZLONG ==64 ) && !defined(__KERNEL__) -# include <asm-generic/int-l64.h> -#else -# include <asm-generic/int-ll64.h> -#endif -#ifndef __ASSEMBLY__typedef unsigned short umode_t ;#endif /* __ASSEMBLY__ */ -/* -* These aren't exported outside the kernel to avoid name space clashes -*/ -#ifdef __KERNEL__ -#ifndef __ASSEMBLY__ - -/* -* Don't use phys_t. You've been warned. -*/ -#ifdef CONFIG_64BIT_PHYS_ADDR -typedef unsigned long long phys_t ; -#else -typedef unsigned long phys_t ; -#endif - -#endif /* __ASSEMBLY__ */ - -#endif /* __KERNEL__ */ -#endif /* _ASM_TYPES_H */
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/2 move umode_t typedef from asm/types.h to linux/types.h
In reply to Antony PavlovSigned-off-by Antony Pavlov <[email protected]>
--- arch/arm/include/asm/types.h | 2 -- arch/blackfin/include/asm/types.h | 2 -- arch/mips/include/asm/types.h | 6 ------ arch/nios2/include/asm/types.h | 2 -- arch/openrisc/include/asm/types.h | 2 -- arch/ppc/include/asm/types.h | 2 -- arch/riscv/include/asm/types.h | 2 -- arch/sandbox/include/asm/types.h | 2 -- arch/x86/include/asm/types.h | 2 -- include/linux/types.h | 1 + 10 files changed, 1 insertion(+), 22 deletions(-)
arch/arm/include/asm/types.h +0 -2
@@ -3,8 +3,6 @@#ifndef __ASSEMBLY__ -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
arch/blackfin/include/asm/types.h +0 -2
@@ -30,8 +30,6 @@*/ #ifndef __ASSEMBLY__ -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
arch/mips/include/asm/types.h +0 -6
@@ -10,10 +10,4 @@#include <asm-generic/int-ll64.h> -#ifndef __ASSEMBLY__ - -typedef unsigned short umode_t ; - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_TYPES_H */
arch/nios2/include/asm/types.h +0 -2
@@ -3,6 +3,4 @@#include <asm/int-ll64.h> -typedef unsigned short umode_t ; -#endif
arch/openrisc/include/asm/types.h +0 -2
@@ -24,8 +24,6 @@* need to be careful to avoid a name clashes. */ -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
arch/ppc/include/asm/types.h +0 -2
@@ -3,8 +3,6 @@#ifndef __ASSEMBLY__ -typedef unsigned short umode_t ; - typedef __signed__ char __s8;typedef unsigned char __u8 ;
arch/riscv/include/asm/types.h +0 -2
@@ -15,8 +15,6 @@#endif -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
arch/sandbox/include/asm/types.h +0 -2
@@ -16,8 +16,6 @@#endif -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
arch/x86/include/asm/types.h +0 -2
@@ -18,8 +18,6 @@#endif -typedef unsigned short umode_t ; -/* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the * header files exported to user space
include/linux/types.h +1 -0
@@ -15,6 +15,7 @@ typedef __kernel_fd_set fd_set;typedef __kernel_dev_t dev_t ;typedef __kernel_ino_t ino_t ;typedef __kernel_mode_t mode_t ; +typedef unsigned short umode_t ;typedef __kernel_off_t off_t ;typedef __kernel_pid_t pid_t ;typedef __kernel_daddr_t daddr_t ;
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Antony Pavlov
This patchseries is marked "for-next" because it contains
arch/riscvchanges.Antony Pavlov (2):
MIPS:asm/types.h: drop unused stuff
moveumode_ttypedef fromasm/types.htolinux/types.h
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox