* [RFC] [PATCH] subarch-cleanup_A1
@ 2002-11-22 1:46 john stultz
2002-11-22 1:48 ` William Lee Irwin III
2002-11-22 13:37 ` Alan Cox
0 siblings, 2 replies; 4+ messages in thread
From: john stultz @ 2002-11-22 1:46 UTC (permalink / raw)
To: J.E.J. Bottomley; +Cc: Martin J. Bligh, Russell King, Sam Ravnborg, lkml
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
Ok, next pass. How about this: (complete patch bz'ed and attached)
diff -Nru a/arch/i386/Makefile b/arch/i386/Makefile
--- a/arch/i386/Makefile Thu Nov 21 17:37:35 2002
+++ b/arch/i386/Makefile Thu Nov 21 17:37:35 2002
@@ -46,10 +46,13 @@
CFLAGS += $(cflags-y)
-ifdef CONFIG_VISWS
-MACHINE := mach-visws
-else
-MACHINE := mach-generic
+#VISWS subarch support
+mflags-$(CONFIG_VISWS) := -Iinclude/asm-i386/mach-visws
+mcore-$(CONFIG_VISWS) := mach-visws
+#generic subarch support
+mflags-y += -Iinclude/asm-i386/mach-generic
+ifndef mcore-y
+ mcore-y := mach-generic
endif
HEAD := arch/i386/kernel/head.o arch/i386/kernel/init_task.o
@@ -57,14 +60,14 @@
libs-y += arch/i386/lib/
core-y += arch/i386/kernel/ \
arch/i386/mm/ \
- arch/i386/$(MACHINE)/
+ arch/i386/$(mcore-y)/
drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/
drivers-$(CONFIG_PCI) += arch/i386/pci/
# FIXME: is drivers- right ?
drivers-$(CONFIG_OPROFILE) += arch/i386/oprofile/
-CFLAGS += -Iarch/i386/$(MACHINE)
-AFLAGS += -Iarch/i386/$(MACHINE)
+CFLAGS += $(mflags-y)
+AFLAGS += $(mflags-y)
makeboot = $(call descend,arch/i386/boot,$(1))
diff -Nru a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
--- a/arch/i386/kernel/apic.c Thu Nov 21 17:37:35 2002
+++ b/arch/i386/kernel/apic.c Thu Nov 21 17:37:35 2002
@@ -31,7 +31,8 @@
#include <asm/pgalloc.h>
#include <asm/desc.h>
#include <asm/arch_hooks.h>
-#include "mach_apic.h"
+
+#include <mach_apic.h>
void __init apic_intr_init(void)
{
yada yada...
-john
[-- Attachment #2: linux-2.5.48_subarch-cleanup_A1.patch.bz2 --]
[-- Type: application/x-bzip, Size: 8988 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] [PATCH] subarch-cleanup_A1
2002-11-22 1:46 [RFC] [PATCH] subarch-cleanup_A1 john stultz
@ 2002-11-22 1:48 ` William Lee Irwin III
2002-11-22 2:00 ` john stultz
2002-11-22 13:37 ` Alan Cox
1 sibling, 1 reply; 4+ messages in thread
From: William Lee Irwin III @ 2002-11-22 1:48 UTC (permalink / raw)
To: john stultz
Cc: J.E.J. Bottomley, Martin J. Bligh, Russell King, Sam Ravnborg,
lkml
On Thu, Nov 21, 2002 at 05:46:36PM -0800, john stultz wrote:
> Ok, next pass. How about this: (complete patch bz'ed and attached)
Would you like me to send you a patch to do strong typing
(== wrap in structs) on the various flavors of APIC ID's?
I'll do so overnight when west coast .us is most likely to sleep if so.
Bill
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] [PATCH] subarch-cleanup_A1
2002-11-22 1:48 ` William Lee Irwin III
@ 2002-11-22 2:00 ` john stultz
0 siblings, 0 replies; 4+ messages in thread
From: john stultz @ 2002-11-22 2:00 UTC (permalink / raw)
To: William Lee Irwin III
Cc: J.E.J. Bottomley, Martin J. Bligh, Russell King, Sam Ravnborg,
lkml
On Thu, 2002-11-21 at 17:48, William Lee Irwin III wrote:
> On Thu, Nov 21, 2002 at 05:46:36PM -0800, john stultz wrote:
> > Ok, next pass. How about this: (complete patch bz'ed and attached)
>
> Would you like me to send you a patch to do strong typing
> (== wrap in structs) on the various flavors of APIC ID's?
>
> I'll do so overnight when west coast .us is most likely to sleep if so.
a bit out of context from this patch, but yea, I'd be interested in
seeing it. although, unless your just itching to do it, how about
waiting until after the numaq subarch stuff is cleaned up a bit more?
thanks
-john
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] [PATCH] subarch-cleanup_A1
2002-11-22 1:46 [RFC] [PATCH] subarch-cleanup_A1 john stultz
2002-11-22 1:48 ` William Lee Irwin III
@ 2002-11-22 13:37 ` Alan Cox
1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2002-11-22 13:37 UTC (permalink / raw)
To: john stultz
Cc: J.E.J. Bottomley, Martin J. Bligh, Russell King, Sam Ravnborg,
lkml
On Fri, 2002-11-22 at 01:46, john stultz wrote:
> Ok, next pass. How about this: (complete patch bz'ed and attached)
For the -ac tree I created a seperate mach/default so we can distinguish
"generic PC" from "default values"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-22 13:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 1:46 [RFC] [PATCH] subarch-cleanup_A1 john stultz
2002-11-22 1:48 ` William Lee Irwin III
2002-11-22 2:00 ` john stultz
2002-11-22 13:37 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.