summaryrefslogtreecommitdiff
path: root/lib/utils/irqchip
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2021-01-11 14:45:00 +0300
committerAnup Patel <anup@brainfault.org>2021-01-15 08:10:33 +0300
commit1bbf36183ef5beeeb6358ff4450611c9c76a2ea2 (patch)
tree7c8bd2cae7ad7e475bb061cd279cc21c57d9ca24 /lib/utils/irqchip
parent386eba21bf349201f48e3e01ca129e6bffd7e674 (diff)
downloadopensbi-1bbf36183ef5beeeb6358ff4450611c9c76a2ea2.tar.xz
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: Paul Campbell <taniwha@gmail.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/utils/irqchip')
0 files changed, 0 insertions, 0 deletions