Commit 179eddeb authored by Li Jinpei's avatar Li Jinpei Committed by Anup Patel
Browse files

lib: sbi_scratch: use bitwise ops in sbi_scratch_alloc_offset()



Instead of using loop to make "size" machine word aligned, we should
use bitwise ops.

Signed-off-by: default avatarLi Jinpei <leekingp1994@163.com>
Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent d6fa7f95
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