Here's the error:
gcc -D__KERNEL__ -I/home/kernel/linux-2.1.105/include -D__ASSEMBLY__
-D__SMP__ -traditional -c trampoline.S -o trampoline.o
/tmp/cca30848.s: Assembler messages:
/tmp/cca30848.s:169: Error: operands given don't match any known 386 instruction
make[1]: *** [trampoline.o] Error 1
make[1]: Leaving directory `/home/kernel/linux-2.1.105/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2
The one-line patch:
--- trampoline.S.orig Mon Jun 8 22:54:49 1998
+++ trampoline.S Mon Jun 8 22:54:57 1998
@@ -54,7 +54,7 @@
lmsw %ax # into protected mode
jmp flush_instr
flush_instr:
- ljmpl $__KERNEL_CS, $0x00100000
+ ljmp $__KERNEL_CS, $0x00100000
# jump to startup_32
idt_48:
Nobody should even think about applying this until someone that knows
their compilers and assemblers can tell me what the effect of the patch
actually _is._
...dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu