Commit 1bbf3618 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

include: sbi: Don't pack struct sbi_platform and sbi_platform_operations



We don't need to pack struct sbi_platform and sbi_platform_operations
because GCC ensures member offsets match member data type irrespective
to the target system (RV32 or RV64). This also allows GCC to generate
more optimized instruction sequence when accessing members of struct
sbi_platform and struct sbi_platform_operations.

Reported-by: default avatarPaul Campbell <taniwha@gmail.com>
Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 386eba21
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