Re: today's snapshot goodies

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Fri, 19 Sep 1997 17:02:11 +0200


Hi,

> I have som problems getting this to compile with SMP. 970917 compiled
> with SMP, but 970918 gives me the following when compiled with SMP=1:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__
> -traditional -c trampoline.S -o trampoline.o
> /tmp/cca08495.s: Assembler messages:
> /tmp/cca08495.s:114: Error: operands given don't match any known 386
> instruction
> make[1]: *** [trampoline.o] Error 1
>
> Without SMP support it compiles fine.

Please try the following patch.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@gts.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"RAM = Rarely Adequate Memory"

Index: trampoline.S =================================================================== RCS file: /vger/u4/cvs/linux/arch/i386/kernel/trampoline.S,v retrieving revision 1.6 diff -u -r1.6 trampoline.S --- trampoline.S 1997/05/14 20:44:44 1.6 +++ trampoline.S 1997/09/19 14:59:49 @@ -53,7 +53,7 @@ lmsw %ax # into protected mode jmp flush_instr flush_instr: - ljmp $KERNEL_CS, $0x00100000 + ljmp $__KERNEL_CS, $0x00100000 # jump to startup_32 idt_48: