[PATCH 2/2] arm: futex: Use asm-generic/futex.h instead of redefining the entire header

2016-10-09 Thread Joel Porquet
tex_atomic_op_inuser() and __futex_atomic_cmpxchg_inatomic()). Compiled (SMP and !SMP) and booted on QEMU with a minimal busybox-based system. Signed-off-by: Joel Porquet <j...@porquet.org> --- arch/arm/include/asm/futex.h | 203 ++- 1 file changed, 84 insertions(+), 11

[PATCH 2/2] arm: futex: Use asm-generic/futex.h instead of redefining the entire header

2016-10-09 Thread Joel Porquet
tex_atomic_op_inuser() and __futex_atomic_cmpxchg_inatomic()). Compiled (SMP and !SMP) and booted on QEMU with a minimal busybox-based system. Signed-off-by: Joel Porquet --- arch/arm/include/asm/futex.h | 203 ++- 1 file changed, 84 insertions(+), 119 deletions(-) diff --git a/

[PATCH 0/2] make asm-generic/futex.h usable for more arch ports

2016-10-09 Thread Joel Porquet
en required, 2/ an example of how to use this refactoring with the ARM port. Let me know what you think. Cheers, Joël Joel Porquet (2): asm-generic/futex.h: code refactoring arm: futex: Use asm-generic/futex.h instead of redefining the entire header arch/arm/include/asm/futex.h | 203

[PATCH 0/2] make asm-generic/futex.h usable for more arch ports

2016-10-09 Thread Joel Porquet
en required, 2/ an example of how to use this refactoring with the ARM port. Let me know what you think. Cheers, Joël Joel Porquet (2): asm-generic/futex.h: code refactoring arm: futex: Use asm-generic/futex.h instead of redefining the entire header arch/arm/include/asm/futex.h | 203

[PATCH 1/2] asm-generic/futex.h: code refactoring

2016-10-09 Thread Joel Porquet
opefully good) side-effect, this makes it possible for arch ports to start including this generic header, instead of redefining it completely, and only overload the macros with arch-specific routines. Signed-off-by: Joel Porquet <j...@porquet.org> --- include/asm-generic/futex.h | 219 +

[PATCH 1/2] asm-generic/futex.h: code refactoring

2016-10-09 Thread Joel Porquet
opefully good) side-effect, this makes it possible for arch ports to start including this generic header, instead of redefining it completely, and only overload the macros with arch-specific routines. Signed-off-by: Joel Porquet --- include/asm-generic/futex.h | 219 ++

[PATCH v2 0/3] arm:irchip: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
the patch into these independent patches that can be applied separately should help. Joël Joel Porquet (3): arm:exynos: IRQCHIP_DECLARE macro is now accessible arm:imx: IRQCHIP_DECLARE macro is now accessible arm:omap2: IRQCHIP_DECLARE macro is now accessible arch/arm/mach-exynos/suspend.c | 3

[PATCH v2 1/3] arm:exynos: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet --- arch/arm/mach-exynos/suspend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index e00eb39..dfb1fcf 100644 --- a/arch/arm/m

[PATCH v2 3/3] arm:omap2: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet --- arch/arm/mach-omap2/omap-wakeupgen.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen.c index e1d2e99..a2dc

[PATCH v2 2/3] arm:imx: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet --- arch/arm/mach-imx/gpc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 8c4467f..c7de608 100644 --- a/arch/arm/mach-imx/gpc.c +++

[PATCH v2 0/3] arm:irchip: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
the patch into these independent patches that can be applied separately should help. Joël Joel Porquet (3): arm:exynos: IRQCHIP_DECLARE macro is now accessible arm:imx: IRQCHIP_DECLARE macro is now accessible arm:omap2: IRQCHIP_DECLARE macro is now accessible arch/arm/mach-exynos/suspend.c | 3

[PATCH v2 3/3] arm:omap2: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet <j...@porquet.org> --- arch/arm/mach-omap2/omap-wakeupgen.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen

[PATCH v2 2/3] arm:imx: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet <j...@porquet.org> --- arch/arm/mach-imx/gpc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 8c4467f..c7de608 100644 --- a/arch/ar

[PATCH v2 1/3] arm:exynos: IRQCHIP_DECLARE macro is now accessible

2015-10-13 Thread Joel Porquet
es the use of OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet <j...@porquet.org> --- arch/arm/mach-exynos/suspend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index e00eb39..dfb1fcf 10064

Re: [PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-09-04 Thread Joel Porquet
On Monday, July 13, 2015 11:20:35 PM Shawn Guo wrote: > On Tue, Jul 07, 2015 at 04:02:53PM -0400, Joel Porquet wrote: > > The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h', making it > > globally accessible. > > > > See commit 91e20b5040c67c51aad88cf87db

Re: [PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-09-04 Thread Joel Porquet
On Monday, July 13, 2015 11:20:35 PM Shawn Guo wrote: > On Tue, Jul 07, 2015 at 04:02:53PM -0400, Joel Porquet wrote: > > The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h', making it > > globally accessible. > > > > See commit 91e20b5040c67c51aad88cf87db

[tip:irq/core] mips/irq: prepare for drivers/irqchip/ irqchip.h removal

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: 0a271c2a34deb98a81f94fc87380287f3a8c9c72 Gitweb: http://git.kernel.org/tip/0a271c2a34deb98a81f94fc87380287f3a8c9c72 Author: Joel Porquet AuthorDate: Tue, 7 Jul 2015 17:17:33 -0400 Committer: Thomas Gleixner CommitDate: Fri, 31 Jul 2015 20:51:21 +0200 mips/irq: prepare

[tip:irq/core] irqchip: Remove header drivers/irqchip/irqchip.h

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: 0b7367017087cfe6f4514eb9e9c108ac8d6a101b Gitweb: http://git.kernel.org/tip/0b7367017087cfe6f4514eb9e9c108ac8d6a101b Author: Joel Porquet AuthorDate: Tue, 7 Jul 2015 17:18:23 -0400 Committer: Thomas Gleixner CommitDate: Fri, 31 Jul 2015 20:51:22 +0200 irqchip: Remove header

[tip:irq/core] microblaze/irq: prepare for drivers/irqchip/ irqchip.h removal

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: fd4b267b3d30f4742bdf7586fed5193b67938e32 Gitweb: http://git.kernel.org/tip/fd4b267b3d30f4742bdf7586fed5193b67938e32 Author: Joel Porquet AuthorDate: Tue, 7 Jul 2015 17:13:15 -0400 Committer: Thomas Gleixner CommitDate: Fri, 31 Jul 2015 20:51:21 +0200 microblaze/irq: prepare

[tip:irq/core] microblaze/irq: prepare for drivers/irqchip/ irqchip.h removal

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: fd4b267b3d30f4742bdf7586fed5193b67938e32 Gitweb: http://git.kernel.org/tip/fd4b267b3d30f4742bdf7586fed5193b67938e32 Author: Joel Porquet j...@porquet.org AuthorDate: Tue, 7 Jul 2015 17:13:15 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 31 Jul 2015 20:51

[tip:irq/core] mips/irq: prepare for drivers/irqchip/ irqchip.h removal

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: 0a271c2a34deb98a81f94fc87380287f3a8c9c72 Gitweb: http://git.kernel.org/tip/0a271c2a34deb98a81f94fc87380287f3a8c9c72 Author: Joel Porquet j...@porquet.org AuthorDate: Tue, 7 Jul 2015 17:17:33 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 31 Jul 2015 20:51

[tip:irq/core] irqchip: Remove header drivers/irqchip/irqchip.h

2015-07-31 Thread tip-bot for Joel Porquet
Commit-ID: 0b7367017087cfe6f4514eb9e9c108ac8d6a101b Gitweb: http://git.kernel.org/tip/0b7367017087cfe6f4514eb9e9c108ac8d6a101b Author: Joel Porquet j...@porquet.org AuthorDate: Tue, 7 Jul 2015 17:18:23 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 31 Jul 2015 20:51

[tip:irq/core] irqchip: Prepare for local stub header removal

2015-07-11 Thread tip-bot for Joel Porquet
Commit-ID: 41a83e06e2bb9ac46731681fd44d1e6ab184dac5 Gitweb: http://git.kernel.org/tip/41a83e06e2bb9ac46731681fd44d1e6ab184dac5 Author: Joel Porquet AuthorDate: Tue, 7 Jul 2015 17:11:46 -0400 Committer: Thomas Gleixner CommitDate: Sat, 11 Jul 2015 23:14:23 +0200 irqchip: Prepare

[tip:irq/core] irqchip: Prepare for local stub header removal

2015-07-11 Thread tip-bot for Joel Porquet
Commit-ID: 41a83e06e2bb9ac46731681fd44d1e6ab184dac5 Gitweb: http://git.kernel.org/tip/41a83e06e2bb9ac46731681fd44d1e6ab184dac5 Author: Joel Porquet j...@porquet.org AuthorDate: Tue, 7 Jul 2015 17:11:46 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Sat, 11 Jul 2015 23:14

[PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-07-07 Thread Joel Porquet
laces uses of macro OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet --- arch/arm/mach-exynos/suspend.c | 3 ++- arch/arm/mach-imx/gpc.c | 7 ++- arch/arm/mach-omap2/omap-wakeupgen.c | 7 ++- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/arc

[PATCH 0/5] Remove obsolete 'drivers/irqchip/irqchip.h' header

2015-07-07 Thread Joel Porquet
ches would be best. Joel Joel Porquet (5): irqchip: prepare for drivers/irqchip/irqchip.h removal microblaze:irqchip: prepare for drivers/irqchip/irqchip.h removal arc:irqchip: prepare for drivers/irqchip/irqchip.h removal mips:irqchip: prepare for drivers/irqchip/irqchip.h removal irqch

[PATCH 0/5] Remove obsolete 'drivers/irqchip/irqchip.h' header

2015-07-07 Thread Joel Porquet
be best. Joel Joel Porquet (5): irqchip: prepare for drivers/irqchip/irqchip.h removal microblaze:irqchip: prepare for drivers/irqchip/irqchip.h removal arc:irqchip: prepare for drivers/irqchip/irqchip.h removal mips:irqchip: prepare for drivers/irqchip/irqchip.h removal irqchip: remove

[PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-07-07 Thread Joel Porquet
OF_DECLARE_2 with IRQCHIP_DECLARE. Signed-off-by: Joel Porquet j...@porquet.org --- arch/arm/mach-exynos/suspend.c | 3 ++- arch/arm/mach-imx/gpc.c | 7 ++- arch/arm/mach-omap2/omap-wakeupgen.c | 7 ++- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git

[tip:irq/urgent] irqchip: Move IRQCHIP_DECLARE macro to include/ linux/irqchip.h

2015-07-02 Thread tip-bot for Joel Porquet
Commit-ID: 91e20b5040c67c51aad88cf87db4305c5bd7f79d Gitweb: http://git.kernel.org/tip/91e20b5040c67c51aad88cf87db4305c5bd7f79d Author: Joel Porquet AuthorDate: Thu, 2 Jul 2015 15:32:00 -0400 Committer: Thomas Gleixner CommitDate: Thu, 2 Jul 2015 22:34:38 +0200 irqchip: Move

[PATCH] irqchip: move IRQCHIP_DECLARE macro to include/linux/irqchip.h

2015-07-02 Thread Joel Porquet
of the macro IRQCHIP_DECLARE to the global header 'include/linux/irqchip.h' and make 'drivers/irqchip/irqchip.h' include 'include/linux/irqchip.h'. Later, other patches will get rid of 'drivers/irqchip/irqchip.h' and modify all the impacted irqchip drivers. Signed-off-by: Joel Porquet --- drivers/irqchip

[tip:irq/urgent] irqchip: Move IRQCHIP_DECLARE macro to include/ linux/irqchip.h

2015-07-02 Thread tip-bot for Joel Porquet
Commit-ID: 91e20b5040c67c51aad88cf87db4305c5bd7f79d Gitweb: http://git.kernel.org/tip/91e20b5040c67c51aad88cf87db4305c5bd7f79d Author: Joel Porquet j...@porquet.org AuthorDate: Thu, 2 Jul 2015 15:32:00 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Thu, 2 Jul 2015 22:34

[PATCH] irqchip: move IRQCHIP_DECLARE macro to include/linux/irqchip.h

2015-07-02 Thread Joel Porquet
of the macro IRQCHIP_DECLARE to the global header 'include/linux/irqchip.h' and make 'drivers/irqchip/irqchip.h' include 'include/linux/irqchip.h'. Later, other patches will get rid of 'drivers/irqchip/irqchip.h' and modify all the impacted irqchip drivers. Signed-off-by: Joel Porquet j...@porquet.org

[PATCH 00/48] Make the IRQCHIP_DECLARE macro globally accessible

2015-07-01 Thread Joel Porquet
IRQCHIP_DECLARE, one by one. And finally, the last patch 48 removes the private and now useless header 'drivers/irqchip/irqchip.h'. Joel Joel Porquet (48): irqchip: move IRQCHIP_DECLARE macro to include/linux/irqchip.h irqchip:exynos-combiner: IRQCHIP_DECLARE macro moved to include/linux

[PATCH 00/48] Make the IRQCHIP_DECLARE macro globally accessible

2015-07-01 Thread Joel Porquet
IRQCHIP_DECLARE, one by one. And finally, the last patch 48 removes the private and now useless header 'drivers/irqchip/irqchip.h'. Joel Joel Porquet (48): irqchip: move IRQCHIP_DECLARE macro to include/linux/irqchip.h irqchip:exynos-combiner: IRQCHIP_DECLARE macro moved to include/linux

[PATCH] asm-generic: uaccess: avoid name conflicts for strncpy and str(n)len

2014-05-28 Thread Joel Porquet
, the following list of archs could benefit from this patch: x86, sh, openrisc, powerpc, arm64, arm, alpha, parisc, sparc, m68k. Signed-off-by: Joel Porquet --- include/asm-generic/uaccess.h | 4 1 file changed, 4 insertions(+) diff --git a/include/asm-generic/uaccess.h b/include/asm-generic

[PATCH] asm-generic: uaccess: avoid name conflicts for strncpy and str(n)len

2014-05-28 Thread Joel Porquet
, the following list of archs could benefit from this patch: x86, sh, openrisc, powerpc, arm64, arm, alpha, parisc, sparc, m68k. Signed-off-by: Joel Porquet j...@porquet.org --- include/asm-generic/uaccess.h | 4 1 file changed, 4 insertions(+) diff --git a/include/asm-generic/uaccess.h b

[PATCH] staging: silicom/bypasslib/bp_ioctl.h: Fix erroneous global variable definitions

2014-05-26 Thread Joel Porquet
, and just leaves anonymous enum type definitions: enum { ... }; Signed-off-by: Joel Porquet --- Only test by compilation. drivers/staging/silicom/bypasslib/bp_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/silicom/bypasslib/bp_ioctl.h b

[PATCH] staging: silicom/bypasslib/bp_ioctl.h: Fix erroneous global variable definitions

2014-05-26 Thread Joel Porquet
, and just leaves anonymous enum type definitions: enum { ... }; Signed-off-by: Joel Porquet j...@porquet.org --- Only test by compilation. drivers/staging/silicom/bypasslib/bp_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/silicom/bypasslib

[PATCH] staging: iio: fix coding style

2014-04-09 Thread Joel Porquet
As suggested by checkpatch.pl, use dev_info() instead of printk(KERN_INFO ...) to print message. Signed-off-by: Joel Porquet --- Only tested by compilation. drivers/staging/iio/trigger/iio-trig-periodic-rtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH] staging: iio: fix coding style

2014-04-09 Thread Joel Porquet
As suggested by checkpatch.pl, use dev_info() instead of printk(KERN_INFO ...) to print message. Signed-off-by: Joel Porquet j...@porquet.org --- Only tested by compilation. drivers/staging/iio/trigger/iio-trig-periodic-rtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git