Skip to content
Commit 6b666fd2 authored by Kevin Hao's avatar Kevin Hao Committed by Bruce Ashfield
Browse files

octeontx2-pcicons: Compute the padding size adaptively



For the SMP, the size of the arch_spinlock_t is always 4 bytes on
all architectures. So the change in the linux-yocto commit
5c8eed9b ("octeontx2-pcicons: Adjust padding size for RT") makes
no sense, and would break the RT build due to the BUILD_BUG_ON()
sanity check in the pci_console_nexus_probe(). So we choose a more
adaptive way to compute the padding size so that it could work
even for UP.

Signed-off-by: default avatarKevin Hao <kexin.hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent f781a13e
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