lkml.org 
[lkml]   [2005]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.14-rt15: cannot build with !PREEMPT_RT
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-26 20:43    [W:0.076 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site