From: Grant Likely <grant.likely@secretlab.ca>
To: David Miller <davem@davemloft.net>, andreas@gaisler.com
Cc: sam@ravnborg.org, rob.herring@calxeda.com,
sparclinux@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
linux-kernel@vger.kernel.org, software@gaisler.com,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH] of/address: sparc: Declare of_iomap as an extern function for sparc again
Date: Fri, 23 Nov 2012 23:34:20 +0000 [thread overview]
Message-ID: <61dbc2ab-5fa4-4095-bbba-11f146ad89a5@email.android.com> (raw)
In-Reply-To: <20121123215947.02DDC3E1EC4@localhost>
Cc'ing stable since this should go into previous kernels too.
g.
Grant Likely <grant.likely@secretlab.ca> wrote:
>On Fri, 23 Nov 2012 14:21:10 -0500 (EST), David Miller
><davem@davemloft.net> wrote:
>> From: Andreas Larsson <andreas@gaisler.com>
>> Date: Fri, 23 Nov 2012 12:24:09 +0100
>>
>> > This bug-fix makes sure that of_iomap is defined extern for sparc
>so that the
>> > sparc-specific implementation of_iomap is once again used when
>including
>> > include/linux/of_address.h in a sparc context. OF_GPIO that is now
>available for
>> > sparc relies on this.
>> >
>> > The bug was inadvertently introduced in a850a75, "of/address: add
>empty static
>> > inlines for !CONFIG_OF", that added a static dummy inline for
>of_iomap when
>> > !CONFIG_OF_ADDRESS. However, CONFIG_OF_ADDRESS is never defined for
>sparc, but
>> > there is a sparc-specific implementation
>/arch/sparc/kernel/of_device_common.c.
>> >
>> > This fix takes the same approach as 0bce04b that solved the
>equivalent problem
>> > for of_address_to_resource.
>> >
>> > Signed-off-by: Andreas Larsson <andreas@gaisler.com>
>>
>> Grant, can you possibly merge this to Linus while I'm travelling?
>> That would help me a lot.
>
>Yup, I'm doing it right now.
>
>g.
--
Grant Likely, P.Eng.
Secret Lab Technologies Ltd.
next prev parent reply other threads:[~2012-11-23 23:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-23 11:24 [PATCH] of/address: sparc: Declare of_iomap as an extern function for sparc again Andreas Larsson
2012-11-23 19:21 ` David Miller
2012-11-23 21:59 ` Grant Likely
2012-11-23 23:34 ` Grant Likely [this message]
2012-11-23 23:55 ` Greg KH
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=61dbc2ab-5fa4-4095-bbba-11f146ad89a5@email.android.com \
--to=grant.likely@secretlab.ca \
--cc=andreas@gaisler.com \
--cc=davem@davemloft.net \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rob.herring@calxeda.com \
--cc=sam@ravnborg.org \
--cc=software@gaisler.com \
--cc=sparclinux@vger.kernel.org \
--cc=stable@vger.kernel.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