From: Thomas Gleixner <tglx@linutronix.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [GIT pull] irq fixes for .39.rc
Date: Wed, 30 Mar 2011 18:28:39 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.00.1103301827530.22418@localhost6.localdomain6> (raw)
In-Reply-To: <AANLkTinnGfpVeugk4WOKeDAUQEuzBo75yCq_E73=w66V@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1508 bytes --]
On Wed, 30 Mar 2011, Linus Torvalds wrote:
> On Wed, Mar 30, 2011 at 7:51 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > Please pull the latest irq-fixes-for-linus git tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git irq-fixes-for-linus
>
> Hmm. This has a fundamental merge conflict with BenH's tree that I just pulled.
>
> You guys did different things in arch/powerpc/include/asm/qe_ic.h:
>
> - BenH has:
>
> - struct qe_ic *qe_ic = get_irq_desc_data(desc);
> + struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
>
> - Thomas has:
>
> - struct qe_ic *qe_ic = get_irq_desc_data(desc);
> + struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
>
> Note the "chip_data" vs "handler_data" difference.
>
> And when I tried to figure out which one is the correct one, I see that
>
> - qe_ic_host_map does:
>
> irq_set_chip_data(virq, qe_ic);
>
> - qe_ic_init does:
>
> irq_set_handler_data(qe_ic->virq_low, qe_ic);
> ...
> irq_set_handler_data(qe_ic->virq_high, qe_ic);
>
> which just makes me go "Somebody is really really confused".
>
> The whole thing may mean that both handler_data and chip_data contains
> the right thing, but it still makes me go "WTF?".
>
> Which way should I resolve it?
get_irq_desc_data() maps to irq_desc_get_handler_data() so Richards
resolution is correct even if the other might work as well.
Thanks,
tglx
next prev parent reply other threads:[~2011-03-30 16:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 14:51 [GIT pull] irq fixes for .39.rc Thomas Gleixner
2011-03-30 15:36 ` Linus Torvalds
2011-03-30 16:28 ` Thomas Gleixner [this message]
2011-03-30 16:46 ` Thomas Gleixner
2011-03-30 16:50 ` Linus Torvalds
2011-03-30 17:00 ` Thomas Gleixner
2011-03-30 21:45 ` Benjamin Herrenschmidt
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=alpine.LFD.2.00.1103301827530.22418@localhost6.localdomain6 \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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