public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: Adrian Bunk <bunk@fs.tum.de>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	Alan Cox <alan@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Linux 2.5.41-ac1
Date: Tue, 08 Oct 2002 15:00:12 -0400	[thread overview]
Message-ID: <200210081900.g98J0CL09162@localhost.localdomain> (raw)
In-Reply-To: Message from Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>  of "Tue, 08 Oct 2002 11:19:34 CDT." <Pine.LNX.4.44.0210081116180.32256-100000@chaos.physics.uiowa.edu>

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

kai@tp1.ruhr-uni-bochum.de said:
> And you do not really want to do this, you rather want CONFIG_VOYAGER
> to  define_bool CONFIG_X86_SMP y and be done without ugly hacks in the
>  Makefiles. 

I'm afraid voyager can't do that.  CONFIG_SMP was split from CONFIG_X86_SMP 
for precisely this reason.  CONFIG_X86_SMP is for generic intel SMP 
architectures (i.e. APIC based).  The voyager has it's own rather wierd VIC 
based SMP architecture.

However, how about the attached patch, which fixes the problem for me (I can 
only compile, not test, because my voyager system is at home and I'm away on 
business)

James


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain , Size: 1786 bytes --]

===== arch/i386/config.in 1.55 vs edited =====
--- 1.55/arch/i386/config.in	Tue Oct  8 13:40:32 2002
+++ edited/arch/i386/config.in	Tue Oct  8 13:53:06 2002
@@ -472,6 +472,9 @@
    define_bool CONFIG_X86_IO_APIC n
    define_bool CONFIG_X86_LOCAL_APIC n
    define_bool CONFIG_X86_FIND_SMP_CONFIG y
+   if [ "$CONFIG_SMP" = "y" ]; then
+      define_bool CONFIG_X86_TRAMPOLINE y
+   fi
 else
    if [ "$CONFIG_SMP" = "y" ]; then
       define_bool CONFIG_X86_SMP y
@@ -479,6 +482,7 @@
       define_bool CONFIG_X86_IO_APIC y
       define_bool CONFIG_X86_LOCAL_APIC y
       define_bool CONFIG_X86_MPPARSE y
+      define_bool CONFIG_X86_TRAMPOLINE y
    fi
    define_bool CONFIG_X86_BIOS_REBOOT y
 fi
===== arch/i386/kernel/Makefile 1.28 vs edited =====
--- 1.28/arch/i386/kernel/Makefile	Tue Oct  8 13:40:32 2002
+++ edited/arch/i386/kernel/Makefile	Tue Oct  8 13:51:46 2002
@@ -20,7 +20,8 @@
 obj-$(CONFIG_APM)		+= apm.o
 obj-$(CONFIG_ACPI)		+= acpi.o
 obj-$(CONFIG_ACPI_SLEEP)	+= acpi_wakeup.o
-obj-$(CONFIG_X86_SMP)		+= smp.o smpboot.o trampoline.o
+obj-$(CONFIG_X86_SMP)		+= smp.o smpboot.o
+obj-$(CONFIG_X86_TRAMPOLINE)	+= trampoline.o
 obj-$(CONFIG_X86_MPPARSE)	+= mpparse.o
 obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o nmi.o
 obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
===== arch/i386/mach-voyager/Makefile 1.8 vs edited =====
--- 1.8/arch/i386/mach-voyager/Makefile	Sun Sep 22 11:58:59 2002
+++ edited/arch/i386/mach-voyager/Makefile	Tue Oct  8 13:52:16 2002
@@ -10,11 +10,8 @@
 EXTRA_CFLAGS	+= -I../kernel
 export-objs	:=
 
-# VPATH is needed for trampoline.o
-VPATH		:= ../kernel
-
 obj-y			:= setup.o voyager_basic.o voyager_thread.o
 
-obj-$(CONFIG_SMP)	+= voyager_smp.o voyager_cat.o trampoline.o
+obj-$(CONFIG_SMP)	+= voyager_smp.o voyager_cat.o
 
 include $(TOPDIR)/Rules.make

  reply	other threads:[~2002-10-08 18:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08  0:03 Linux 2.5.41-ac1 Alan Cox
2002-10-08 11:56 ` Adrian Bunk
2002-10-08 15:01   ` James Bottomley
2002-10-08 15:35     ` Adrian Bunk
2002-10-08 15:49       ` Kai Germaschewski
2002-10-08 16:08         ` Adrian Bunk
2002-10-08 16:18           ` James Bottomley
2002-10-08 16:19           ` Kai Germaschewski
2002-10-08 19:00             ` James Bottomley [this message]
2002-10-08 19:27               ` Kai Germaschewski

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=200210081900.g98J0CL09162@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=alan@redhat.com \
    --cc=bunk@fs.tum.de \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.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