mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marin Mitov <mitov@issp.bas.bg>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH]Section mismatch: __devinit pci_root_bus_res() is calling __init update_res()
Date: Sun, 20 Dec 2009 12:46:36 +0200	[thread overview]
Message-ID: <200912201246.37272.mitov@issp.bas.bg> (raw)

Hi all,

Section mismatch: __devinit pci_root_bus_res() is calling __init update_res().
grepping the tree one find pci_root_bus_res is used only as:
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x342e, pci_root_bus_res);
Mark it __init.

The patch is against 2.6.33-rc1.

Signed-off-by: Marin Mitov <mitov@issp.bas.bg>

==================================================================
--- a/arch/x86/pci/intel_bus.c	2009-12-20 11:50:44.000000000 +0200
+++ b/arch/x86/pci/intel_bus.c	2009-12-20 11:51:03.000000000 +0200
@@ -39,7 +39,7 @@
 #define IOH_LMMIOH_LIMITU	0x118
 #define IOH_LCFGBUS		0x11c
 
-static void __devinit pci_root_bus_res(struct pci_dev *dev)
+static void __init pci_root_bus_res(struct pci_dev *dev)
 {
 	u16 word;
 	u32 dword;

                 reply	other threads:[~2009-12-20 10:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200912201246.37272.mitov@issp.bas.bg \
    --to=mitov@issp.bas.bg \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@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

all inboxes | Powered by JetHome®