linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-kernel@vger.kernel.org,
	Grant Likely <grant.likely@secretlab.ca>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH 2/2 v2] kernel: irq: rename irq_set_default_host to irq_domain_set_default()
Date: Mon, 16 Feb 2015 10:53:50 +0100	[thread overview]
Message-ID: <20150216095350.GH7119@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1423785737-29878-1-git-send-email-linus.walleij@linaro.org>

On Fri, Feb 13, 2015 at 08:02:17AM +0800, Linus Walleij wrote:
> This function does not conform to the irq_domain* namespace and
> makes it a disturbing artifact dating back to a time when irq
> domains were referred to as "hosts". Rename it.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ChangeLog v1->v2:
> - Might as well commit changes I have in the working tree so the
>   thing compiles like it did in my tests, d'oh.
> ---
>  arch/arc/kernel/irq.c                            |  2 +-
>  arch/arm/mach-pxa/irq.c                          |  2 +-
>  arch/c6x/kernel/irq.c                            |  2 +-
>  arch/microblaze/kernel/intc.c                    |  2 +-
>  arch/mips/cavium-octeon/octeon-irq.c             |  4 ++--
>  arch/nios2/kernel/irq.c                          |  2 +-
>  arch/powerpc/platforms/52xx/mpc52xx_pic.c        |  2 +-
>  arch/powerpc/platforms/amigaone/setup.c          |  2 +-
>  arch/powerpc/platforms/cell/beat_interrupt.c     |  2 +-
>  arch/powerpc/platforms/cell/interrupt.c          |  2 +-
>  arch/powerpc/platforms/chrp/setup.c              |  2 +-
>  arch/powerpc/platforms/embedded6xx/flipper-pic.c |  2 +-
>  arch/powerpc/platforms/powermac/pic.c            |  2 +-
>  arch/powerpc/platforms/ps3/interrupt.c           |  2 +-
>  arch/powerpc/sysdev/ehv_pic.c                    |  2 +-
>  arch/powerpc/sysdev/ipic.c                       |  2 +-
>  arch/powerpc/sysdev/mpic.c                       |  2 +-
>  arch/powerpc/sysdev/uic.c                        |  2 +-
>  arch/powerpc/sysdev/xics/xics-common.c           |  2 +-
>  arch/powerpc/sysdev/xilinx_intc.c                |  2 +-
>  arch/x86/kernel/apic/io_apic.c                   |  2 +-
>  drivers/irqchip/irq-armada-370-xp.c              |  2 +-
>  drivers/irqchip/irq-clps711x.c                   |  2 +-
>  drivers/irqchip/irq-mmp.c                        |  8 ++++----
>  drivers/irqchip/irq-xtensa-mx.c                  |  4 ++--
>  drivers/irqchip/irq-xtensa-pic.c                 |  4 ++--
>  include/linux/irqdomain.h                        |  2 +-
>  kernel/irq/irqdomain.c                           | 14 +++++++-------
>  28 files changed, 40 insertions(+), 40 deletions(-)

Might it make sense to preserve both functions for one release to avoid
flag day changes and broken compiles?

Mark one __deprecated and point a comment to the new one, then make sure
nobody is still using it by the next release and remove the old
interface?

  reply	other threads:[~2015-02-16  9:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13  0:02 [PATCH 2/2 v2] kernel: irq: rename irq_set_default_host to irq_domain_set_default() Linus Walleij
2015-02-16  9:53 ` Peter Zijlstra [this message]
2015-02-16 12:09   ` Benjamin Herrenschmidt
2015-03-06 10:20     ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150216095350.GH7119@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=benh@kernel.crashing.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).