* [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to @ 2019-01-14 20:06 Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff Antony Pavlov ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: Antony Pavlov @ 2019-01-14 20:06 UTC (permalink / raw) To: barebox 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(-) -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff 2019-01-14 20:06 [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Antony Pavlov @ 2019-01-14 20:06 ` Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 2/2] move umode_t typedef from asm/types.h to linux/types.h Antony Pavlov 2019-01-16 7:37 ` [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Sascha Hauer 2 siblings, 0 replies; 4+ messages in thread From: Antony Pavlov @ 2019-01-14 20:06 UTC (permalink / raw) To: barebox Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> --- arch/mips/include/asm/types.h | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index cd76f53b50..78068e4113 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips/include/asm/types.h @@ -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 */ -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH-for-next 2/2] move umode_t typedef from asm/types.h to linux/types.h 2019-01-14 20:06 [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff Antony Pavlov @ 2019-01-14 20:06 ` Antony Pavlov 2019-01-16 7:37 ` [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Sascha Hauer 2 siblings, 0 replies; 4+ messages in thread From: Antony Pavlov @ 2019-01-14 20:06 UTC (permalink / raw) To: barebox Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> --- 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(-) diff --git a/arch/arm/include/asm/types.h b/arch/arm/include/asm/types.h index 1a7f47add0..9c21066882 100644 --- a/arch/arm/include/asm/types.h +++ b/arch/arm/include/asm/types.h @@ -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 diff --git a/arch/blackfin/include/asm/types.h b/arch/blackfin/include/asm/types.h index e9d73377eb..086da34d7f 100644 --- a/arch/blackfin/include/asm/types.h +++ b/arch/blackfin/include/asm/types.h @@ -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 diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index 78068e4113..c635c1aac1 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips/include/asm/types.h @@ -10,10 +10,4 @@ #include <asm-generic/int-ll64.h> -#ifndef __ASSEMBLY__ - -typedef unsigned short umode_t; - -#endif /* __ASSEMBLY__ */ - #endif /* _ASM_TYPES_H */ diff --git a/arch/nios2/include/asm/types.h b/arch/nios2/include/asm/types.h index 710ee55796..0067ea83c1 100644 --- a/arch/nios2/include/asm/types.h +++ b/arch/nios2/include/asm/types.h @@ -3,6 +3,4 @@ #include <asm/int-ll64.h> -typedef unsigned short umode_t; - #endif diff --git a/arch/openrisc/include/asm/types.h b/arch/openrisc/include/asm/types.h index 5b6391baf0..8ee6bb00f9 100644 --- a/arch/openrisc/include/asm/types.h +++ b/arch/openrisc/include/asm/types.h @@ -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 diff --git a/arch/ppc/include/asm/types.h b/arch/ppc/include/asm/types.h index 6eb3877032..2d3ce0a283 100644 --- a/arch/ppc/include/asm/types.h +++ b/arch/ppc/include/asm/types.h @@ -3,8 +3,6 @@ #ifndef __ASSEMBLY__ -typedef unsigned short umode_t; - typedef __signed__ char __s8; typedef unsigned char __u8; diff --git a/arch/riscv/include/asm/types.h b/arch/riscv/include/asm/types.h index ba386ab4c5..8200a03349 100644 --- a/arch/riscv/include/asm/types.h +++ b/arch/riscv/include/asm/types.h @@ -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 diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h index 501883f5aa..8426de4cc2 100644 --- a/arch/sandbox/include/asm/types.h +++ b/arch/sandbox/include/asm/types.h @@ -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 diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index 3caac398d8..e57ae2c8cf 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h @@ -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 diff --git a/include/linux/types.h b/include/linux/types.h index ed3a5b6e81..c19d1dc053 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -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; -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to 2019-01-14 20:06 [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 2/2] move umode_t typedef from asm/types.h to linux/types.h Antony Pavlov @ 2019-01-16 7:37 ` Sascha Hauer 2 siblings, 0 replies; 4+ messages in thread From: Sascha Hauer @ 2019-01-16 7:37 UTC (permalink / raw) To: Antony Pavlov; +Cc: barebox On Mon, Jan 14, 2019 at 11:06:38PM +0300, Antony Pavlov wrote: > 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 Applied, thanks Sascha -- 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 barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-16 7:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-01-14 20:06 [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff Antony Pavlov 2019-01-14 20:06 ` [PATCH-for-next 2/2] move umode_t typedef from asm/types.h to linux/types.h Antony Pavlov 2019-01-16 7:37 ` [PATCH-for-next 0/2] move umode_t typedef from asm/types.h to Sascha Hauer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox