diff options
| author | Daniel Lezcano <[email protected]> | 2014-05-26 04:50:34 +0900 |
|---|---|---|
| committer | Kukjin Kim <[email protected]> | 2014-05-26 05:21:47 +0900 |
| commit | cd245f59aae5d6ef265f46aa6cea78354d61b629 (patch) | |
| tree | 9dbba90439d4c75c4a0594a55de32576ea05c338 /scripts/patch-kernel | |
| parent | ff6a9c039dc7da12fcfc70c28ccc9893d85f8e1f (diff) | |
ARM: EXYNOS: Fix kernel panic when unplugging CPU1 on exynos
A look at the code reveals use of S5P_VA_SYSRAM macro, in case of certain SoC
revisions, which is not valid any longer, after SYSRAM started to be mapped
dynamically. The new dynamic mapping is stored in sysram_base_addr variable,
which is declared static in platsmp.c
This fix makes sysram_base_addr non-static, declared it in common.h and used
in pm.c instead of S5P_VA_SYSRAM.
Suggested-by: Tomasz Figa <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions