projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memblock: make memblock_find_in_range method private
[linux-2.6-microblaze.git]
/
arch
/
x86
/
realmode
/
init.c
diff --git
a/arch/x86/realmode/init.c
b/arch/x86/realmode/init.c
index
6534c92
..
31b5856
100644
(file)
--- a/
arch/x86/realmode/init.c
+++ b/
arch/x86/realmode/init.c
@@
-28,7
+28,7
@@
void __init reserve_real_mode(void)
WARN_ON(slab_is_available());
/* Has to be under 1M so we can execute real-mode AP code. */
WARN_ON(slab_is_available());
/* Has to be under 1M so we can execute real-mode AP code. */
- mem = memblock_
find_in_range(0, 1<<20, size, PAGE_SIZE
);
+ mem = memblock_
phys_alloc_range(size, PAGE_SIZE, 0, 1<<20
);
if (!mem)
pr_info("No sub-1M memory is available for the trampoline\n");
else
if (!mem)
pr_info("No sub-1M memory is available for the trampoline\n");
else