sandbox: asm: bitsperlong.h: detect bitness according to 64BIT symbol
Now that we have an accurate CONFIG_64BIT describing sandbox bitness,
we don't need to assume everything except __x86_64__ as 32-bit.

This assumes that sizeof(long) == sizeof(void *), which is assumed
anyway throughout the code base.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 33bfb72 commit 5e4dfd408a55d38e59a6a3fd3cf43192a24ded24
@Ahmad Fatoum Ahmad Fatoum authored on 2 Jun 2020
Sascha Hauer committed on 3 Jun 2020
Showing 1 changed file
View
arch/sandbox/include/asm/bitsperlong.h