From: Greg KH <gregkh@suse.de>
To: Badari Pulavarty <pbadari@us.ibm.com>,
Linus Torvalds <torvalds@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
kamezawa.hiroyu@jp.fujitsu.com, Andrew Morton <akpm@osdl.org>
Subject: Re: 2.6.17-git14 compile failure & fix
Date: Thu, 29 Jun 2006 10:20:16 -0700 [thread overview]
Message-ID: <20060629172016.GA23736@suse.de> (raw)
In-Reply-To: <44A40874.20202@us.ibm.com>
On Thu, Jun 29, 2006 at 10:05:56AM -0700, Badari Pulavarty wrote:
> Hi,
>
> I get "unknown definition" compile failure while compiling 2.6.17-git14
> with CONFIG_MEMORY_HOTPLUG. (kernel/resource.c line: 243) -
> due to recent changes to it.
>
> Here is the patch to fix it. I can't take credit for the patch, since its
> part of GregKH resource_t patches :)
Ick, yeah, that's a fix, but the "real" fix would be for Linus to pull
from my PCI tree which has all of the resource changes in it already
(I sent a request to do so a few days ago...)
Linus, here's the summary again below if you want to pull. When you
merge, there might be some conflicts you have to handle, but hey, you
can test out your new git merge code :)
Or I can just regenerate the git tree so you don't have to, let me know
if you want me to do that.
thanks,
greg k-h
-------------------
Date: Tue, 27 Jun 2006 09:33:17 -0700
From: Greg KH <gregkh@suse.de>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz
Subject: [GIT PATCH] 64bit resource patches for 2.6.17
Message-ID: <20060627163317.GA31073@kroah.com>
Here is a set of patches for 2.6.17 that move the resource size to be
64bits. This patch series has gone though many different iterations, by
many different people, and been tested heavily in the -mm tree for quite
some time (so Andrew says it's finally time to send it to you.)
The main reason someone finally implemented it was to fix some issues
with kexec and kdump on 32bit machines with large amounts of memory.
That fix is the last one in this series and only came to 2 lines of
code.
The majority of the changes in this series is fixing up the odd places
where people were printing the resource start and end values to the
kernel log. If it weren't for noisy drivers, this series would be much
smaller :)
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/
or if master.kernel.org hasn't synced up yet:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/
The full patches will be sent to the linux-kernel mailing list, if
anyone wants to see them.
thanks,
greg k-h
arch/alpha/kernel/pci.c | 4 +-
arch/arm/kernel/bios32.c | 6 ++-
arch/arm/kernel/setup.c | 42 +++++++++++++++++++----
arch/cris/arch-v32/drivers/pci/bios.c | 4 +-
arch/frv/mb93090-mb00/pci-frv.c | 4 +-
arch/i386/Kconfig | 1 +
arch/i386/kernel/efi.c | 6 ++-
arch/i386/kernel/setup.c | 2 +
arch/i386/pci/i386.c | 4 +-
arch/ia64/pci/pci.c | 2 +
arch/m68knommu/kernel/comempci.c | 3 +-
arch/mips/pci/pci.c | 4 +-
arch/mips/pmc-sierra/yosemite/ht.c | 4 +-
arch/parisc/kernel/pci.c | 2 +
arch/powerpc/kernel/pci_32.c | 47 +++++++++++++------------
arch/powerpc/kernel/pci_64.c | 4 +-
arch/powerpc/platforms/83xx/pci.c | 5 ++-
arch/powerpc/platforms/85xx/pci.c | 5 ++-
arch/powerpc/platforms/chrp/pci.c | 4 +-
arch/powerpc/platforms/maple/pci.c | 5 ++-
arch/powerpc/platforms/powermac/pci.c | 5 ++-
arch/ppc/kernel/pci.c | 52 ++++++++++++++++------------
arch/sh/boards/mpc1211/pci.c | 4 +-
arch/sh/boards/overdrive/galileo.c | 2 +
arch/sh/drivers/pci/pci.c | 6 ++-
arch/sh64/kernel/pcibios.c | 4 +-
arch/sparc/kernel/ioport.c | 8 +++-
arch/sparc/kernel/pcic.c | 2 +
arch/sparc64/kernel/pci.c | 2 +
arch/v850/kernel/rte_mb_a_pci.c | 2 +
arch/xtensa/kernel/pci.c | 6 ++-
drivers/amba/bus.c | 5 ++-
drivers/atm/ambassador.c | 3 +-
drivers/atm/firestream.c | 5 ++-
drivers/block/sx8.c | 5 ++-
drivers/char/applicom.c | 9 +++--
drivers/ide/pci/aec62xx.c | 3 +-
drivers/ide/pci/cmd64x.c | 3 +-
drivers/ide/pci/hpt34x.c | 2 +
drivers/ide/pci/pdc202xx_new.c | 4 +-
drivers/ide/pci/pdc202xx_old.c | 4 +-
drivers/ieee1394/ohci1394.c | 17 +++++----
drivers/infiniband/hw/ipath/ipath_driver.c | 8 ++--
drivers/infiniband/hw/mthca/mthca_main.c | 5 ++-
drivers/input/serio/ct82c710.c | 6 ++-
drivers/isdn/hisax/hfc_pci.c | 2 +
drivers/isdn/hisax/telespci.c | 5 ++-
drivers/macintosh/macio_asic.c | 4 +-
drivers/media/video/bt8xx/bttv-driver.c | 10 +++--
drivers/media/video/cx88/cx88-alsa.c | 8 ++--
drivers/media/video/cx88/cx88-core.c | 4 +-
drivers/media/video/cx88/cx88-mpeg.c | 4 +-
drivers/media/video/cx88/cx88-video.c | 4 +-
drivers/media/video/saa7134/saa7134-core.c | 8 ++--
drivers/message/i2o/iop.c | 14 ++++----
drivers/mmc/mmci.c | 4 +-
drivers/mtd/devices/pmc551.c | 8 ++--
drivers/mtd/maps/amd76xrom.c | 5 ++-
drivers/mtd/maps/ichxrom.c | 5 ++-
drivers/mtd/maps/scx200_docflash.c | 5 ++-
drivers/mtd/maps/sun_uflash.c | 5 ++-
drivers/net/3c59x.c | 6 ++-
drivers/net/8139cp.c | 11 +++---
drivers/net/8139too.c | 6 ++-
drivers/net/e100.c | 4 +-
drivers/net/skge.c | 4 +-
drivers/net/sky2.c | 6 ++-
drivers/net/tulip/de2104x.c | 9 +++--
drivers/net/tulip/tulip_core.c | 6 ++-
drivers/net/typhoon.c | 5 ++-
drivers/net/wan/dscc4.c | 12 +++---
drivers/net/wan/pc300_drv.c | 4 +-
drivers/pci/bus.c | 10 +++--
drivers/pci/hotplug/cpcihp_zt5550.c | 9 +++--
drivers/pci/hotplug/cpqphp_core.c | 10 +++--
drivers/pci/hotplug/pciehp_hpc.c | 5 ++-
drivers/pci/hotplug/shpchp_sysfs.c | 18 ++++++----
drivers/pci/pci-sysfs.c | 4 +-
drivers/pci/pci.c | 6 ++-
drivers/pci/pci.h | 6 ++-
drivers/pci/proc.c | 20 ++++-------
drivers/pci/rom.c | 10 +++--
drivers/pci/setup-bus.c | 6 ++-
drivers/pci/setup-res.c | 34 +++++++++++-------
drivers/pcmcia/i82365.c | 5 ++-
drivers/pcmcia/pd6729.c | 3 +-
drivers/pcmcia/rsrc_nonstatic.c | 26 ++++++++------
drivers/pcmcia/tcic.c | 5 ++-
drivers/pnp/interface.c | 8 ++--
drivers/pnp/manager.c | 15 +++++---
drivers/pnp/resource.c | 8 ++--
drivers/scsi/sata_via.c | 8 ++--
drivers/serial/8250_pci.c | 4 +-
drivers/usb/host/sl811-hcd.c | 10 ++++-
drivers/video/console/vgacon.c | 12 +++---
include/asm-arm/mach/pci.h | 2 +
include/asm-powerpc/pci.h | 2 +
include/asm-ppc/pci.h | 2 +
include/linux/ioport.h | 27 +++++++++------
include/linux/pci.h | 13 ++++---
include/linux/pnp.h | 7 +++-
include/linux/types.h | 7 ++++
kernel/resource.c | 52 +++++++++++++++-------------
mm/Kconfig | 6 +++
sound/arm/aaci.c | 5 ++-
sound/drivers/mpu401/mpu401.c | 5 ++-
sound/isa/es18xx.c | 3 +-
sound/isa/gus/interwave.c | 8 ++--
sound/isa/sb/sb16.c | 3 +-
sound/oss/forte.c | 5 ++-
sound/pci/bt87x.c | 5 ++-
sound/pci/sonicvibes.c | 4 +-
sound/ppc/pmac.c | 14 ++++----
sound/sparc/cs4231.c | 4 +-
sound/sparc/dbri.c | 4 +-
115 files changed, 527 insertions(+), 391 deletions(-)
---------------
Greg Kroah-Hartman:
64bit resource: C99 changes for struct resource declarations
64bit resource: fix up printks for resources in sound drivers
64bit resource: fix up printks for resources in networks drivers
64bit resource: fix up printks for resources in pci core and hotplug drivers
64bit resource: fix up printks for resources in mtd drivers
64bit resource: fix up printks for resources in ide drivers
64bit resource: fix up printks for resources in video drivers
64bit resource: fix up printks for resources in pcmcia drivers
64bit resource: fix up printks for resources in arch and core code
64bit resource: fix up printks for resources in misc drivers
64bit resource: introduce resource_size_t for the start and end of struct resource
64bit resource: change resource core to use resource_size_t
64bit resource: change pci core and arch code to use resource_size_t
64bit resource: change pnp core to use resource_size_t
64bit Resource: convert a few remaining drivers to use resource_size_t where needed
64bit Resource: finally enable 64bit resource sizes
Vivek Goyal:
i386: export memory more than 4G through /proc/iomem
next prev parent reply other threads:[~2006-06-29 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-29 17:05 2.6.17-git14 compile failure & fix Badari Pulavarty
2006-06-29 17:20 ` Greg KH [this message]
2006-06-29 18:29 ` Andrew Morton
2006-06-29 18:36 ` Linus Torvalds
2006-06-29 18:56 ` Badari Pulavarty
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=20060629172016.GA23736@suse.de \
--to=gregkh@suse.de \
--cc=akpm@osdl.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pbadari@us.ibm.com \
--cc=torvalds@osdl.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