mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Greg KH <greg@kroah.com>
Cc: torvalds@transmeta.com, mochel@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [BK PATCH] PCI reorg changes for 2.5.14
Date: Tue, 7 May 2002 20:15:11 +0400	[thread overview]
Message-ID: <20020507201511.A766@jurassic.park.msu.ru> (raw)
In-Reply-To: <20020506222506.GA8718@kroah.com>

On Mon, May 06, 2002 at 03:25:07PM -0700, Greg KH wrote:
> Here is a series of changesets that reorganize the core and i386 PCI
> files.  It splits the current big files up into smaller pieces,
> according to the different function and platform type (removing lots of
> #ifdefs in the process.)  Pat Mochel did 99.9% of this work, and I've
> tested it out and forward ported it to your most recent kernel version.

There are missing #includes which will break compilation on some non-x86
platforms. With following patch this compiles and works on alpha.

Ivan.

--- 2.5.14-reorg/arch/alpha/kernel/pci.c	Tue May  7 18:38:42 2002
+++ linux/arch/alpha/kernel/pci.c	Tue May  7 19:40:04 2002
@@ -193,13 +193,15 @@ pcibios_align_resource(void *data, struc
 #undef MB
 #undef GB
 
-void __init
+static void __init
 pcibios_init(void)
 {
 	if (!alpha_mv.init_pci)
 		return;
 	alpha_mv.init_pci();
 }
+
+subsys_initcall(pcibios_init);
 
 char * __init
 pcibios_setup(char *str)
--- 2.5.14-reorg/drivers/pci/probe.c	Tue May  7 18:15:54 2002
+++ linux/drivers/pci/probe.c	Tue May  7 19:02:38 2002
@@ -2,7 +2,9 @@
  * probe.c - PCI detection and setup code
  */
 
+#include <linux/init.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
 #include <linux/module.h>
 
 #undef DEBUG
--- 2.5.14-reorg/drivers/pci/pci.c	Tue May  7 18:15:54 2002
+++ linux/drivers/pci/pci.c	Tue May  7 19:05:28 2002
@@ -9,6 +9,8 @@
  *	Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
  */
 
+#include <linux/delay.h>
+#include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/module.h>
 #include <linux/spinlock.h>
--- 2.5.14-reorg/drivers/pci/pool.c	Tue May  7 19:07:51 2002
+++ linux/drivers/pci/pool.c	Tue May  7 19:07:15 2002
@@ -1,4 +1,5 @@
 #include <linux/pci.h>
+#include <linux/slab.h>
 #include <linux/module.h>
 
 /*
--- 2.5.14-reorg/drivers/pci/proc.c	Tue May  7 18:15:54 2002
+++ linux/drivers/pci/proc.c	Tue May  7 19:09:13 2002
@@ -6,6 +6,7 @@
  *	Copyright (c) 1997--1999 Martin Mares <mj@ucw.cz>
  */
 
+#include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/module.h>
 #include <linux/proc_fs.h>

  parent reply	other threads:[~2002-05-07 16:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-06 22:25 Greg KH
2002-05-07  9:02 ` Christoph Hellwig
2002-05-07 16:15 ` Ivan Kokshaysky [this message]
2002-05-07 16:49   ` Greg KH
2002-05-07 18:27     ` Linus Torvalds
2002-05-07 20:23       ` Greg KH
2002-05-07 21:29         ` Patrick Mochel
2002-05-07 21:50           ` Linus Torvalds
2002-05-07 23:13             ` Patrick Mochel
2002-05-08  3:55             ` Jeff Garzik

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=20020507201511.A766@jurassic.park.msu.ru \
    --to=ink@jurassic.park.msu.ru \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    --cc=torvalds@transmeta.com \
    /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®