projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Use memblock_set_current_limit() to set limit for memblock.
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
x86
/
kernel
/
setup.c
diff --git
a/arch/x86/kernel/setup.c
b/arch/x86/kernel/setup.c
index
f8ec578
..
de33798
100644
(file)
--- a/
arch/x86/kernel/setup.c
+++ b/
arch/x86/kernel/setup.c
@@
-1070,7
+1070,7
@@
void __init setup_arch(char **cmdline_p)
cleanup_highmap();
cleanup_highmap();
- memblock
.current_limit = ISA_END_ADDRESS
;
+ memblock
_set_current_limit(ISA_END_ADDRESS)
;
memblock_x86_fill();
/*
memblock_x86_fill();
/*
@@
-1103,7
+1103,7
@@
void __init setup_arch(char **cmdline_p)
setup_real_mode();
setup_real_mode();
- memblock
.current_limit = get_max_mapped(
);
+ memblock
_set_current_limit(get_max_mapped()
);
dma_contiguous_reserve(0);
/*
dma_contiguous_reserve(0);
/*