X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fboot%2Fmemory.c;h=db75d07c3645c0375090596ae29d1085f0f8a38a;hb=9a6cd4b45a1372b04bb4c3307f1ce79a0a2e2fa9;hp=cae3feb1035e3da73826b518de4d47c15ad4e58d;hpb=f72222c74bd642182cc892c99df65cb105c61193;p=pandora-kernel.git diff --git a/arch/x86/boot/memory.c b/arch/x86/boot/memory.c index cae3feb1035e..db75d07c3645 100644 --- a/arch/x86/boot/memory.c +++ b/arch/x86/boot/memory.c @@ -91,7 +91,7 @@ static int detect_memory_e801(void) if (oreg.ax > 15*1024) { return -1; /* Bogus! */ } else if (oreg.ax == 15*1024) { - boot_params.alt_mem_k = (oreg.dx << 6) + oreg.ax; + boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; } else { /* * This ignores memory above 16MB if we have a memory