mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <christoph@lameter.com>
To: "Martin J. Bligh" <mbligh@mbligh.org>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.12-rc4-mm2 build failure
Date: Mon, 16 May 2005 16:07:33 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.62.0505161602460.20110@graphe.net> (raw)
In-Reply-To: <734820000.1116277209@flay>

On Mon, 16 May 2005, Martin J. Bligh wrote:

> ppc64 box
> 
> drivers/ide/ide-probe.c: In function `ide_init_queue':
> drivers/ide/ide-probe.c:982: warning: implicit declaration of function `pcibus_to_node'
> drivers/ide/ide-disk.c: In function `ide_disk_probe':
> drivers/ide/ide-disk.c:1225: warning: implicit declaration of function `pcibus_to_node'
> drivers/built-in.o(.text+0xaee4c): In function `.init_irq':
> : undefined reference to `.pcibus_to_node'
> drivers/built-in.o(.text+0xaf01c): In function `.init_irq':
> : undefined reference to `.pcibus_to_node'
> drivers/built-in.o(.text+0xb7808): In function `.ide_disk_probe':
> : undefined reference to `.pcibus_to_node'
> make: *** [.tmp_vmlinux1] Error 1
> 05/16/05-07:36:03 Build the kernel. Failed rc = 2
> 05/16/05-07:36:03 build: kernel build Failed rc = 1

There was a prior discussion with the ppc64 folks about the way that 
asm-generic/topology.h was included only for CONFIG_NUMA. I thought that 
was fixed?

asm-generic/topology.h must also be included if CONFIG_NUMA is not set 
inorder to provide the fall back pcibus_to_node function.

patch follows. Cannot test since I do not have a ppc64.

Index: linux-2.6.12-rc4/include/asm-ppc64/topology.h
===================================================================
--- linux-2.6.12-rc4.orig/include/asm-ppc64/topology.h	2005-03-01 23:38:32.000000000 -0800
+++ linux-2.6.12-rc4/include/asm-ppc64/topology.h	2005-05-16 16:06:24.000000000 -0700
@@ -59,10 +59,8 @@
 	.nr_balance_failed	= 0,			\
 }
 
-#else /* !CONFIG_NUMA */
+#endif /* CONFIG_NUMA */
 
 #include <asm-generic/topology.h>
 
-#endif /* CONFIG_NUMA */
-
 #endif /* _ASM_PPC64_TOPOLOGY_H */

  reply	other threads:[~2005-05-16 23:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 21:00 Martin J. Bligh
2005-05-16 23:07 ` Christoph Lameter [this message]
2005-05-16 23:15   ` Martin J. Bligh
2005-05-17 17:08   ` Martin J. Bligh
2005-05-17 17:09     ` Martin J. Bligh
2005-05-17 17:20       ` Christoph Lameter
2005-05-17 17:34         ` Martin J. Bligh
2005-05-18  0:04   ` Matthew Dobson
2005-05-18  0:08     ` Christoph Lameter
2005-05-18 17:24       ` Matthew Dobson
2005-05-18 17:39         ` Christoph Lameter
2005-05-19  0:55           ` Matthew Dobson
2005-05-19  3:36             ` [PATCH] fix pcibus_to_node for x86_64 Christoph Lameter
     [not found] <200505162320.j4GNKDLN002527@shell0.pdx.osdl.net>
     [not found] ` <200505170433.59091.adobriyan@gmail.com>
2005-05-17  0:39   ` 2.6.12-rc4-mm2 build failure Christoph Lameter

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=Pine.LNX.4.62.0505161602460.20110@graphe.net \
    --to=christoph@lameter.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@mbligh.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®