projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/hda' into for-linus
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
boot
/
memory.c
diff --git
a/arch/x86/boot/memory.c
b/arch/x86/boot/memory.c
index cae3feb1035e3da73826b518de4d47c15ad4e58d..db75d07c3645c0375090596ae29d1085f0f8a38a 100644
(file)
--- 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) {
if (oreg.ax > 15*1024) {
return -1; /* Bogus! */
} else if (oreg.ax == 15*1024) {
- boot_params.alt_mem_k = (oreg.
d
x << 6) + oreg.ax;
+ boot_params.alt_mem_k = (oreg.
b
x << 6) + oreg.ax;
} else {
/*
* This ignores memory above 16MB if we have a memory
} else {
/*
* This ignores memory above 16MB if we have a memory