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
ARM: rockchip_defconfig: enable DEVFREQ_GOV_SIMPLE_ONDEMAND
[firefly-linux-kernel-4.4.55.git]
/
lib
/
pie.c
diff --git
a/lib/pie.c
b/lib/pie.c
index 2aa0fc996985d765640c0adcd7ebf3fe73b3f65f..c266a61bad72146eee2ec438f0a99721cfc683ff 100644
(file)
--- a/
lib/pie.c
+++ b/
lib/pie.c
@@
-64,7
+64,7
@@
struct pie_chunk *__pie_load_data(struct gen_pool *pool, bool phys,
goto err;
}
- common_sz =
code_start - (void *)
__pie_common_start;
+ common_sz =
__pie_overlay_start -
__pie_common_start;
code_sz = code_end - code_start;
chunk->pool = pool;