Commit 8be9fdf9 authored by Gu Zitao's avatar Gu Zitao Committed by guzitao
Browse files

sw64: mark sched_clock() as notrace

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I645RC



--------------------------------

sched_clock() of SW64 has no notrace mark like the generic declaration
and it will cause kernel crash in ftrace selftests. Add notrace to fix
it.

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 479d4867
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment