lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.6.8.1-mm3, fix visws kernel build
Hello,

looks like someone broke kernel build for SGI Visws 320/540 again:

CC arch/i386/kernel/cpu/intel.o
In file included from arch/i386/kernel/cpu/intel.c:19:
include/asm-i386/mach-visws/mach_apic.h: In function `cpu_present_to_apicid':
include/asm-i386/mach-visws/mach_apic.h:67: error: `BAD_APICID' undeclared (first use in this function)
include/asm-i386/mach-visws/mach_apic.h:67: error: (Each undeclared identifier is reported only once
include/asm-i386/mach-visws/mach_apic.h:67: error: for each function it appears in.)
make[2]: *** [arch/i386/kernel/cpu/intel.o] Ошибка 1

attached patch fixes it. Please consider applying.

Best regards.

--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
diff -urpNX /usr/share/dontdiff linux-2.6.8.1-mm3.vanilla/include/asm-i386/mach-visws/mach_apic.h linux-2.6.8.1-mm3/include/asm-i386/mach-visws/mach_apic.h
--- linux-2.6.8.1-mm3.vanilla/include/asm-i386/mach-visws/mach_apic.h 2004-08-20 14:46:05.000000000 +0400
+++ linux-2.6.8.1-mm3/include/asm-i386/mach-visws/mach_apic.h 2004-08-20 14:55:27.000000000 +0400
@@ -2,6 +2,7 @@
#define __ASM_MACH_APIC_H

#include <mach_apicdef.h>
+#include <asm/smp.h>

#define APIC_DFR_VALUE (APIC_DFR_FLAT)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.108 / U:12.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site