Re: 2.6.14-rt15: cannot build with !PREEMPT_RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-11-26 at 14:05 -0500, Lee Revell wrote:

> -rt19 seems to work except that asm/io_apic.h fails to include 
> asm/apicdef.h so MAX_IO_APICS is undefined.

The patch below fixes the Makefile x86_64 clutter and the io_apic
compile problem

	tglx


Index: linux-2.6.14-rt/Makefile
===================================================================
--- linux-2.6.14-rt.orig/Makefile
+++ linux-2.6.14-rt/Makefile
@@ -189,8 +189,8 @@ SUBARCH := $(shell uname -m | sed -e s/i
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 
-ARCH = x86_64
-CROSS_COMPILE = x86_64-linux-
+ARCH		?= $(SUBARCH)
+CROSS_COMPILE	?=
 
 # Architecture as present in compile.h
 UTS_MACHINE := $(ARCH)
Index: linux-2.6.14-rt/arch/i386/kernel/i8253.c
===================================================================
--- linux-2.6.14-rt.orig/arch/i386/kernel/i8253.c
+++ linux-2.6.14-rt/arch/i386/kernel/i8253.c
@@ -10,10 +10,10 @@
 #include <linux/init.h>
 #include <linux/mca.h>
 
+#include <asm/smp.h>
 #include <asm/io_apic.h>
 #include <asm/delay.h>
 #include <asm/i8253.h>
-#include <asm/smp.h>
 #include <asm/io.h>
 
 #include "io_ports.h"


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux