Skip to content
Commit 423e85e9 authored by Ivan T. Ivanov's avatar Ivan T. Ivanov Committed by Heiko Stuebner
Browse files

ARM: rockchip: Use memcpy_toio instead of memcpy on smp bring-up



This fixes a potential kernel panic on memcpy when FORTIFY_SOURCE
is enabled. Because memory is iomem use appropriate function for
accessing it.

Signed-off-by: default avatarIvan T. Ivanov <iivanov@suse.de>
Link: https://lore.kernel.org/r/20211116084616.24811-1-iivanov@suse.de
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent fa55b7dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment