public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ravikiran G Thirumalai <kiran@scalex86.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@suse.de>,
	Andrew Morton <akpm@osdl.org>
Subject: [patch] 2.6.19-rc1: Fix build breakage with CONFIG_X86_VSMP
Date: Thu, 12 Oct 2006 12:17:52 -0700	[thread overview]
Message-ID: <20061012191752.GA3775@localhost.localdomain> (raw)

Linus,
2.6.19-rc1 does not compile with CONFIG_X86_VSMP.  

arch/x86_64/kernel/built-in.o(.init.text+0xab13): In function `vsmp_init':
arch/x86_64/kernel/vsmp.c:32: undefined reference to `ioremap'
arch/x86_64/kernel/built-in.o(.init.text+0xab24):arch/x86_64/kernel/vsmp.c:33:
undefined reference to `readl'

Probably due to some header file cleanups in 2.6.19-rc1. Please apply this fix.

Thanks,
Kiran

---
From: Ravikiran Thirumalai <kiran@scalex86.org>

Kernel build breaks with CONFIG_X86_VSMP.  Probably due to some header file 
cleanups in 2.6.19-rc1.  

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>

Index: linux-2.6.19-rc1/arch/x86_64/kernel/vsmp.c
===================================================================
--- linux-2.6.19-rc1.orig/arch/x86_64/kernel/vsmp.c	2006-10-09 21:03:36.000000000 -0700
+++ linux-2.6.19-rc1/arch/x86_64/kernel/vsmp.c	2006-10-09 21:12:06.000000000 -0700
@@ -14,6 +14,7 @@
 #include <linux/pci_ids.h>
 #include <linux/pci_regs.h>
 #include <asm/pci-direct.h>
+#include <asm/io.h>
 
 static int __init vsmp_init(void)
 {

                 reply	other threads:[~2006-10-12 19:15 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=20061012191752.GA3775@localhost.localdomain \
    --to=kiran@scalex86.org \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --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