lkml.org 
[lkml]   [1998]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: More 2.1.81 compile errors(with fix)
Date
In article <Pine.LNX.3.96.980123214101.2888A-100000@ppp8.csudh.edu>,
Trevor Johnson <trevor@jpj.net> wrote:
>
>After applying your patch, I had further errors when compiling without
>__SMP__:
>
>gcc -D__KERNEL__ -I/usr/sys/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
>-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o irq.o irq.c
>irq.c: In function `do_ioapic_IRQ':

You can just put a #ifdef __SMP__ around the whole contents of the
"do_ioapic_IRQ()": the ioapic code is not enabled for UP anyway.. (and
right now it isn't enabled even under SMP, but a SMP kernel will at
least compile ;)

Linus

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.150 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site