inclomplete STANDARD_MEMORY_BIOS_CALL remove in 2.1.75

Hans Lermen (lermen@elserv.ffm.fgan.de)
Thu, 25 Dec 1997 22:51:51 +0100 (MET)


Hi Linus,

In patch-2.1.75 there were changes in arch/i386/kernel/setup.c, which
obviously are incomplete:

If STANDARD_MEMORY_BIOS_CALL _is_ defined, then ALT_MEM_K (PARAM+0x1e0)
will _not_ be preset correctly. Patch 2.1.75 did remove the '#ifndef' only
partially, so the code will not be correct.

This should be cleaned up either by removing the STANDARD_MEMORY_BIOS_CALL
code completely or by reinstalling the '#ifndef STANDARD_MEMORY_BIOS_CALL'
in arch/i386/kernel/setup.c.

... if nothing of above, atleast this small patch should be applied:

--- linux-2.1.75-clean/arch/i386/boot/setup.S Mon Dec 15 17:39:51 1997
+++ linux/arch/i386/boot/setup.S Thu Dec 25 22:53:44 1997
@@ -274,6 +274,8 @@

oldstylemem:
pop ebx
+#else
+ mov dword ptr [0x1e0], #0
#endif
mov ah,#0x88
int 0x15

Hans
<lermen@fgan.de>