Commit f92147c2 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

include: Make sbi_hart_id_to_scratch() as macro



The sbi_hart_id_to_scratch() just forwards call to firmware specific
hartid_to_scratch() callback so we make sbi_hart_id_to_scratch() as
macro in sbi_scratch.h instead of regular function in sbi_hart.c.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent baac7e06
Supports Markdown
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