From: arnd@arndb•de (Arnd Bergmann)
To: linux-arm-kernel@lists•infradead.org
Subject: [GIT PULL] io.h clean-up for PCI
Date: Thu, 19 Jul 2012 14:16:32 +0000 [thread overview]
Message-ID: <201207191416.33330.arnd@arndb.de> (raw)
In-Reply-To: <50049285.1060100@gmail.com>
On Monday 16 July 2012, Rob Herring wrote:
> Arnd,
>
> Please pull io.h PCI clean-up series. As you suggested, lets get it in
> next for test and decide later if to apply it for 3.6 or wait.
>
> BTW, I'll have sporadic email access over the next 2 weeks.
I've alrady applied this patch on top, which was rather obvious.
Arnd
commit 960760557356fba9e86698605d1e1c68783d72e3
Author: Arnd Bergmann <arnd@arndb•de>
Date: Thu Jul 19 16:13:41 2012 +0200
ARM: pci: mark pci_reserve_io as __init
pci_reserve_io calls the vm_reserve_area_early function that is
marked __init, so it needs to be __init itself to avoid this
warning:
WARNING: arch/arm/mm/built-in.o(.text+0x22dc): Section mismatch in
reference from the function pci_reserve_io() to the function
.init.text:vm_reserve_area_early()
Signed-off-by: Arnd Bergmann <arnd@arndb•de>
diff --git a/arch/arm/include/asm/mach/pci.h b/arch/arm/include/asm/mach/pci.h
index 6345a5f..188fd58 100644
--- a/arch/arm/include/asm/mach/pci.h
+++ b/arch/arm/include/asm/mach/pci.h
@@ -64,7 +64,7 @@ void pci_common_init(struct hw_pci *);
*/
#if defined(CONFIG_PCI) && !defined(CONFIG_NEED_MACH_IO_H)
/* Called from devicemaps_init before .map_io */
-static inline void pci_reserve_io(void)
+static inline void __init pci_reserve_io(void)
{
vm_reserve_area_early(PCI_IO_VIRT_BASE, SZ_2M, pci_reserve_io);
}
next prev parent reply other threads:[~2012-07-19 14:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-16 22:15 [GIT PULL] io.h clean-up for PCI Rob Herring
2012-07-17 20:53 ` Arnd Bergmann
2012-07-19 14:12 ` Arnd Bergmann
2012-07-24 12:33 ` Rob Herring
2012-07-24 12:43 ` Arnd Bergmann
2012-07-24 13:25 ` Rob Herring
2012-07-24 14:18 ` Arnd Bergmann
2012-07-25 14:41 ` Rob Herring
2012-07-25 15:52 ` Arnd Bergmann
2012-07-19 14:16 ` Arnd Bergmann [this message]
2012-07-23 0:35 ` Rob Herring
2012-07-27 21:59 ` Rob Herring
2012-07-28 14:38 ` Will Deacon
2012-07-30 11:05 ` Rob Herring
2012-07-30 14:31 ` Russell King - ARM Linux
2012-07-30 14:56 ` Rob Herring
2012-08-27 8:27 ` Russell King - ARM Linux
2012-08-28 0:14 ` Rob Herring
2012-07-29 23:07 ` Olof Johansson
2012-08-14 9:14 ` Will Deacon
2012-08-14 9:37 ` Arnd Bergmann
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=201207191416.33330.arnd@arndb.de \
--to=arnd@arndb$(echo .)de \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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