diff options
author | Rich Felker <dalias@libc.org> | 2017-07-31 01:27:50 -0400 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2018-04-12 19:47:51 -0400 |
commit | eb6b6930a70faefe04479a71088cc10366782d9a (patch) | |
tree | a86769cb20fbc28fc58ef509058ad1a5bc81b97f /drivers/regulator/lp8755.c | |
parent | 9b7e30ab975334448dc4c82941a48a3685a7642b (diff) | |
download | linux-eb6b6930a70faefe04479a71088cc10366782d9a.tar.gz linux-eb6b6930a70faefe04479a71088cc10366782d9a.tar.bz2 linux-eb6b6930a70faefe04479a71088cc10366782d9a.zip |
sh: fix memory corruption of unflattened device tree
unflatten_device_tree() makes use of memblock allocation, and
therefore must be called before paging_init() migrates the memblock
allocation data to the bootmem framework. Otherwise the record of the
allocation for the expanded device tree will be lost, and will
eventually be clobbered when allocated for another use.
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'drivers/regulator/lp8755.c')
0 files changed, 0 insertions, 0 deletions