2019-01-08 11:39:58

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH] powerpc/irq: drop arch_early_irq_init()

arch_early_irq_init() does nothing different than
the weak arch_early_irq_init() in kernel/softirq.c

Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS")
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
---
arch/powerpc/kernel/irq.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 916ddc4aac44..bb299613a462 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -827,11 +827,6 @@ int irq_choose_cpu(const struct cpumask *mask)
}
#endif

-int arch_early_irq_init(void)
-{
- return 0;
-}
-
#ifdef CONFIG_PPC64
static int __init setup_noirqdistrib(char *str)
{
--
2.13.3



2019-01-08 11:41:28

by Christophe Leroy

[permalink] [raw]
Subject: Re: [PATCH] powerpc/irq: drop arch_early_irq_init()

Oops, forgot to actually copy Thomas.

Le 08/01/2019 à 12:37, Christophe Leroy a écrit :
> arch_early_irq_init() does nothing different than
> the weak arch_early_irq_init() in kernel/softirq.c
>
> Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS")
> Cc: Thomas Gleixner <[email protected]>
> Signed-off-by: Christophe Leroy <[email protected]>
> ---
> arch/powerpc/kernel/irq.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
> index 916ddc4aac44..bb299613a462 100644
> --- a/arch/powerpc/kernel/irq.c
> +++ b/arch/powerpc/kernel/irq.c
> @@ -827,11 +827,6 @@ int irq_choose_cpu(const struct cpumask *mask)
> }
> #endif
>
> -int arch_early_irq_init(void)
> -{
> - return 0;
> -}
> -
> #ifdef CONFIG_PPC64
> static int __init setup_noirqdistrib(char *str)
> {
>

2019-01-08 14:37:10

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [PATCH] powerpc/irq: drop arch_early_irq_init()

On Tue, 8 Jan 2019, Christophe Leroy wrote:

> Oops, forgot to actually copy Thomas.
>
> Le 08/01/2019 à 12:37, Christophe Leroy a écrit :
> > arch_early_irq_init() does nothing different than
> > the weak arch_early_irq_init() in kernel/softirq.c
> >
> > Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS")
> > Cc: Thomas Gleixner <[email protected]>
> > Signed-off-by: Christophe Leroy <[email protected]>

Acked-by: Thomas Gleixner <[email protected]>

2019-01-24 03:40:47

by Michael Ellerman

[permalink] [raw]
Subject: Re: powerpc/irq: drop arch_early_irq_init()

On Tue, 2019-01-08 at 11:37:19 UTC, Christophe Leroy wrote:
> arch_early_irq_init() does nothing different than
> the weak arch_early_irq_init() in kernel/softirq.c
>
> Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS")
> Cc: Thomas Gleixner <[email protected]>
> Signed-off-by: Christophe Leroy <[email protected]>
> Acked-by: Thomas Gleixner <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/607ea5090b3fb61fea1d0bc5278e6c1d

cheers